/    Sign up×
Community /Pin to ProfileBookmark

PHP Website Structure

Hi,

I have been part of a development team for a while, working on a system that was originally built by one guy. The system is a CRM for a large company and the time has come to completely rebuild the architecture.

What I want to know is where can I find a simple to advanced guide on building a complex system?

The main thing is that I have found a lot of guides on “how to build a video rental system”, or “keeping track of student’s marks”, however our system is far more complex than that.

I am looking for a good OO based guide, with class inheritance etc.

One of the most important topics that I need covered is using 5 to 7 tables in complex queries, and where to put the logic for those queries. For example, if you are generating a report for a campus’s average final marks for a particular qualification, and you are retrieving data from many tables (learner, campus, qualification, marks), where do you put the logic?

I have been working in CodeIgniter at the moment, but I am willing to try something else even if it means I need to build everything from scratch.

Any help would be greatly appreciated.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogDec 05.2011 — I was going to suggest that you look at the MVC design concept; but if you're looking at CodeIgniter, then you're already looking at a pretty good implementation mechanism for that. ?
Copy linkTweet thisAlerts:
@johnWebberDec 06.2011 — CodeIgniter is a pretty decent framework, I've been looking at the new Lithium framework quite a bit, since everything was built from php 5.3 and it utilizes namespaces. http://lithify.me/

might be worth a look at
×

Success!

Help @marshcorps spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...