Ryano121's Profile User Rating: *****

Reputation: 1450 Grandmaster
Active Posts:
3,286 (1.79 per day)
30-January 11
Profile Views:
Last Active:
User is offline Today, 05:07 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:
Expert In:

Latest Visitors

Icon   Ryano121 Finally new computer set up!

Posts I've Made

  1. In Topic: how can i return this method?

    Posted 7 Feb 2016

    Closing this topic as he was talking about C# and has another topic open for that.
  2. In Topic: how can i return this method?

    Posted 7 Feb 2016

    In C# List.Add returns void.
  3. In Topic: Cannot Resolve import org.apache.http.client.ClientProtocolException;

    Posted 6 Feb 2016

    Those were deprecated in API 22 and removed in 23.

    Use HttpURLConnection instead (which is more efficient anyway)
  4. In Topic: I now understand why planning is important

    Posted 6 Feb 2016

    You would be correct in saying that your design is a bit confused (but at least you realise it)!

    It was the wrong approach to move the FinalizeOrder code into Orders (class should be called Order by the way). You want clear separation of concerns, but now you've got your main data class (Order) dealing with database interactions. It shouldn't have to know that there is a database at all (I may want to reuse it but don't have one), just that there is an Order and it needs to store some data about it.

    Once you have your main 'business objects' (order in this case), you can add on a layer for interacting with a database to retrieve/save orders. Importantly this should be completely separate from your actual data class. You want to strive for modularity. It should be possible for me to come along, change the database you're using completely through minimal code change (i.e. not changing the Order class) and still have everything work.

    You had a better idea with the SqlManager class. It has a clear purpose to deal with database interaction. Ideally you would also separate this out into different service classes - probably one for each business object you have (order, products, employees etc). Not sure why you felt you needed to move that logic out into Orders.

    So again aim for single responsibility (SOLID principle) and modularity. I notice you also repeat yourself quite a lot setting up connections etc.
  5. In Topic: Problem displaying capital letters in the middle of a word

    Posted 6 Feb 2016

    View PostIronRazer, on 06 February 2016 - 03:18 AM, said:

    Another one is when you type something like (x) but, replace the x with a b. It thinks you have added the B)/> smiley instead which is indicated by the B and the ) characters in a post.

    Testing: (B)/>

    You can disable emoticons in the post options to get around that one.

My Information

Member Title:
D.I.C Lover
Age Unknown
Birthday Unknown
United Kingdom
Years Programming:
Programming Languages:
C#, Java

Contact Information



Page 1 of 1
  1. Photo

    fahad10 Icon

    28 Dec 2015 - 09:28
    Hey bro,
    I need your help in dot net framework programming. Please give me your email.
  2. Photo

    Ryano121 Icon

    21 Oct 2013 - 04:11
    Cheers :)
  3. Photo

    Michael26 Icon

    21 Oct 2013 - 03:03
    Told you it would happen, congrats on promotion :)
  4. Photo

    CODER IT Icon

    02 Oct 2013 - 04:54
    hi . may i ask ? is your profile picture is applicable , / can be use in facebook profile picture? does it still moving?
  5. Photo

    Ryano121 Icon

    16 Sep 2013 - 13:44
    Haha we may get there one day :)
  6. Photo

    Michael26 Icon

    16 Sep 2013 - 13:39
    It is amazing that you don't have expert badge, this injustice CAN'T go unpunished :)
  7. Photo

    Michael26 Icon

    01 Mar 2013 - 03:18
    Grandmaster :)
  8. Photo

    Ryano121 Icon

    28 Feb 2013 - 10:32
    Haha yeah :)
  9. Photo

    Michael26 Icon

    28 Feb 2013 - 10:27
    999 Rep, so close :)
  10. Photo

    Ryano121 Icon

    06 Feb 2013 - 08:00
    Thanks man! :)
  11. Photo

    raghav.naganathan Icon

    05 Feb 2013 - 20:35
    Hey buddy...nice rep...911 :)
  12. Photo

    _HAWK_ Icon

    29 Apr 2012 - 22:09
    Someone has some mad math skills!
Page 1 of 1