php source code for borrowing books

arang67

Registered Member
Joined
Feb 14, 2012
Messages
90
Reaction score
28
hye all

i have to make an assignment php for borrowing and retung books like online library

where can i get the sample?

if anyone can help i can give backlinks to your site
 
How about you actually work your way to it? Getting good at programming will actually help you make money, don't be a lazy ass. ;)
 
Yah, don't be a scrote - do your homework.

Think about breaking the problem down. You'll want to do this object oriented. Start thinking about a 'book' class.
It will have attributes such as Title, Author, ISBN, Purchase Date etc
It will have functions such as 'bookOut' and 'bookIn' which will model behavior of the object (i.e. when people borrow it and return it)

Then think about a 'Customer' class, which will have stuff like Name, Phone Number, Address etc

Once you start modelling the components you need (i.e. information you need to store) you'll need to think about the behavior of these objects (i.e. a book can be AVAILABLE, ON LOAN, MISSING etc, a customer can be ACTIVE, OVER LIMIT etc). You can start designing your system on a piece of paper, by creating an object oriented design, as well as a database schema.
 
How about you actually work your way to it? Getting good at programming will actually help you make money, don't be a lazy ass. ;)

Yah, don't be a scrote - do your homework.

Think about breaking the problem down. You'll want to do this object oriented. Start thinking about a 'book' class.
It will have attributes such as Title, Author, ISBN, Purchase Date etc
It will have functions such as 'bookOut' and 'bookIn' which will model behavior of the object (i.e. when people borrow it and return it)

Then think about a 'Customer' class, which will have stuff like Name, Phone Number, Address etc

Once you start modelling the components you need (i.e. information you need to store) you'll need to think about the behavior of these objects (i.e. a book can be AVAILABLE, ON LOAN, MISSING etc, a customer can be ACTIVE, OVER LIMIT etc). You can start designing your system on a piece of paper, by creating an object oriented design, as well as a database schema.

thanks bro about your advice..imjust getting fedup with this..im taking subject in php..just need someone can fix my coding :)
 
Back
Top