CMS Framework

This is a discussion on "CMS Framework" within the PHP Forum section. This forum, and the thread "CMS Framework are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 3rd, 2007, 11:44
Highly Reputable Member
Join Date: Jun 2007
Location: Canterbury
Age: 20
Posts: 726
Thanks: 0
Thanked 0 Times in 0 Posts
CMS Framework

Hi!

Ok i have created a basic CMS for my site, it is basic and it was more a practice and learning task as I have only recently got started with PHP.

My problem, is that if I was now to do a site for a client I would need to copy paste and edit all the code. I have heard a couple fo people on ehre saying rather than using joomla or anything like that creating your own Framework is better in the long run, as you will know the system inside out.

Right call me naive but my question is what is a framework? and how do I create a CMS framework that I will be able to easily apply to the majority of sites I create. it just seems there must be an easier way than to create from scratch for every site I make.

I know there are a few PHp gurus on here and would love to hear from you. If your willing to give me an indepth explanation then you can PM me or email me (email in sig).

Thanks in advance for your help.

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 3rd, 2007, 11:53
Highly Reputable Member
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CMS Framework

The way I do it is that I have a cms.php that writes a CMS into the $content variable. Then the template just needs to echo $content and the CMS is written into the site. Does that make sense?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 3rd, 2007, 11:59
Highly Reputable Member
Join Date: Jun 2007
Location: Canterbury
Age: 20
Posts: 726
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CMS Framework

Erm not really. Sorry to be a pain.

So what is cms.php?

I'll tell you how my CMS is set up. Basically my site is 1840dsgn.co.uk and my cms is cms.1840dsgn.co.uk

Within cms.1840dsgn.co.uk there are various pages like:

addPortfolio.php
editPortfolio.php
moderateComments.php
users.php
uploadImage.php
uploadFile.php
login.php

as well as includes like

Connector.php
checkLogin.php

All data input is put into the mysql database.

So...you say you have 1 file called cms.php, how do you have all this content in the one file. By includes this wouldn't work would it?

On 1840dsgn.co.uk,

data is pulled from the database and displayed.

Am i going completely the wrong way about this?

lol im really confused and I know I'm a pain but i relaly wanna learn and have been searching tutorials everywhere and can't find any kind of pointers so I thought you guys might be able to help me out!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
cms system, framework

« Form | Scripts »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
latest iteration of the .NET framework welshstew ASP.NET Forum 1 Dec 7th, 2007 20:56


All times are GMT. The time now is 20:47.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved