Jump to content

Need Simple 1 table OOP example project


Barnacles

Recommended Posts

I make all of my PHP codes function base and normal traditional style. But I wanna upgrade my skill. Thats why I got started learning OOP programming. But the problem of the examples of OOP books is that all the examples are so much big and complicated that I just get mis track and cant understand the example. I need an example project which is coded in OOP style and do INSERT, UPDATE, DELETE to a single table like:

 

CREATE TABLE `test` (

`name` VARCHAR( 255 ) NOT NULL ,

`address` VARCHAR( 255 ) NOT NULL ,

`phone` VARCHAR( 255 ) NOT NULL

)

 

If u have any example project like this type of single table, please (edit by redbullmarky ) post suggestions here}. I will be highly greatful to that person who will help or try to help me. Thanks a lot. Im waiting for ur response...

Link to comment
https://forums.phpfreaks.com/topic/80920-need-simple-1-table-oop-example-project/
Share on other sites

if you want a personal response, please post in the freelance forum for paid help - otherwise, help/responses should be posted here publicly to help others that maybe in the same boat as you :)

 

in response to your question, this might be a start:

 

http://forums.devnetwork.net/viewtopic.php?p=263455

 

also having a look at some well established php frameworks (google is your friend here - take a look at the code of a good few of them) will help. CakePHP's Model works for me, but there are plenty of others.

Actually if u help me, then it will helps others too, Because some of my friends and junior also ask me to give some easy example. I am a university student and im using it for study purpose. So, if u send me one, it will of great help to me. thank you.

i just did help you. not only did i help you though, but i helped anyone else in need of something similar that reads it, not just your private circle of friends. see how it works? ;)

 

Some keywords/phrases to try in Google to help yourself:

- database model php

- RowDataGateWay

 

Some frameworks to look at to get "study material":

- CakePHP

- CodeIgniter

- Django (not PHP, but easy enough to grasp)

- Ruby on Rails (as above, not PHP)

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.