   [web] How do i manage large website?
  How could I manage a large website?  I am trying to make a large website but need a way to be able to manage it all.  Should I use a CMS or make one? Thanks.P.S. I am using PHP   
  Unless you have very special needs about the website, I would suggest using an existing solution (Wordpress, Drupal, Joomla or something like that)   ;  This is what i have done:I made a very small CMS.  It can only update the content of a page.  It works, has very little code and is fast.What I didI made a mysql database, made a table with id, page, name, title and content.  I then made the page connect to this using $_GET.  The page would get the page id using "$page = $_GET['page'];", use mysql and find the id using "WHERE page = $page" in the mysql.  If the page variable is equal to nothing, the page would include "index_stuff.php".In the admin area, I made a form and made lots of inputs.  If anyone wants the basic script, just ask.  It only updates a small area of the site and not the style sheets or anything like Joomla.   ;Quote:Original post by EXERHow could I manage a large website?Large in terms of what? The amount of data, pages or users is often irrelevant. It's the number of features, internal and external dependencies or the mixture of technologies that can make it complex.   ;  Best solution, as already stated, is to use an existing CMS. There is very little that Joomla or WordPress cannot do given a few extensions and bridges (bridge to photo gallery, bridge to forum, bridge to blog, whatever you want, there's probably a native plugin or a bridge written for it). If you have very specific needs (let's say you're writing the next killer browser game ala Planetarion), then you of course have to roll your own. Best advice I can come up with is to think of it as not a website but rather a web application. Separating Model - View - Controller is a good start, but then you can break it down further. Model is business logic, data (in your database), and a data access layer (keywords: Data Access Objects and Object-Relational Mapping) that translates between them (makes sql queries/updates, deals with "objects" on the application side). Controllers deal with program flow / servicing page requests. You may want multiple controllers based on problem domain (say, one for the main site, one for AJAX stuff if any, one for the admin site). The View is made up of layout (logical page structure), which receives data from the model via the controller, and presentation (aka CSS). That's the basics, but the specifics depend on just what exactly you are trying to create.   