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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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