Jump to content

PHP OOP projects


Vivid Lust

Recommended Posts

for some reason, maybe because of school I've always found the "guest application" a good one.

 

Basically build an application that has a database or array of guest objects. Your classes might look something like:

 

[Person]

    - firstName

    - lastName

    - address

    - etc...

[Hotel]

    - Database (array) of guest objects

 

Of course this is simple and nothing big. But with it you'll learn how to create a new guest object and store each object in an array. Also call upon the array getting all the male guests or something

Link to comment
https://forums.phpfreaks.com/topic/164412-php-oop-projects/#findComment-867261
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.