Jump to content

Dave Tarmac

Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Dave Tarmac's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I did actually only choose the inventory example because I thought that it would be a good example usage of OOP methods. But if you want, we can sort it out for an example. Basically, a user (registered) can view any DVD's in the catalogue. Only Admin can add new titles in to the DB DVD ((id), title, description); The reason I ask about a real world example is that I need to build a pack & pick warehouse system and I haven't really any clue where to start using OOP methodology. If anyone has any ideas about this, then feel free to chime in. Cheers.
  2. I'm looking for any guides/tutorials on building a simple system/application using OO methods. I'm new to OOP and after reading lots of 'What is OOP?' examples, I get the jist of what a class, method and property is and I get how to call them, creating an instance and manipulating that. What I don't get is how sever classes can work together to form a functioning system. I've done a fair amount of Googling on the subject, but I can't seem to find a tutorial on building a simple system (for example a simple inventory system to manage DVD's or something) to show how they work in a real world situation (including database creation). If anyone knows any websites that do such a thing, or can offer advice, or even point me in the direction of a book that might do such a thing then could you please share this information as I am actually tearing my hair out. Many thanks.
  3. The full original code including how to implement can be found here: http://codewalkers.com/getcode.php?id=92
  4. Hi again all, Let me go in to a bit more detail now - I was rushed yesterday. The paging class above works but displays every page in this format: << < 1 2 3 4 5... > >> Sadly, on one of the pages that this is used, it displays all 30 page numbers which is far too long. I have managed to limit it so that it only displays as: << < 1 3 4 5 6 7 8 9 10 > >> The problem I have is that when I go to page 11, the page list does not change. It stays as 1-10. I hope this is a better explanation. Thanks in advance.
  5. Hi all, I found this script on Codewalkers, but I am having trouble manipulating it to how I want. The code can be found here: http://pastebin.com/898213 As it stands at the moment, I can get it displaying 10 pages with no trouble, but when I go to page 11, it does not display on the page list, it stays 1-10. If anyone can help me fix this then I would be most grateful.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.