Jump to content

Recommended Posts

Hello PHPEXPERTS,

  I am php developer and have enough experience developing apps using php 4. I want to develop facebook wall app where user can register, login. upload photos, upload status, share links, like status etc. 

  I want to create this app using php 5 classes, I am familiar with codeigniter but never created single app with php 5 classes. So i am confused about how to design class structure. Can anyone please help me create a class structure. I mean which classes should be there Which class will inherit whom ? And any others suggestion that you like to suggest ? 

 

Link to comment
https://forums.phpfreaks.com/topic/268383-help-regarding-class-structure-design/
Share on other sites

Right now i am using class structure already, its multilevel  structure and code is grown bit and now i think its became messy so i want to restart working on it with good class structure, so i was asking for help.

 

"What classes do I need?"

 

class User
class SignupService
class AuthService
class Photo
class UploadService
class LikeService

 

There you have them. I doubt they are any good to you since you have a vague idea on OOP.

  I know all you guys are right i need to read all again.....but actually i dont have to read each and everything, i just need some brushing. I dont have that much time to read php classes all again so now i think i will go with codeigniter.

  Thanks for looking into my post, I didnt get any help regarding my problem but got much more than that :) You guys inspired me to find some time and read php oop again. I will definitely read books on it i have to.

 

Thanks once again.

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.