Welcome Guest, Not a member yet? Register   Sign In
best practices
#1

[eluser]john.weland[/eluser]
So admittedly I am a PHP noob as I may have mentioned in a few of my other posts.

I am currently trying to learn PHP from using codeigniter to build my own personal page... well website. I am wanting to build a fully functional Admin Panel so that I can post blogs, news, etc from a web interface.

I am in the works of laying out the Admin CP and realized I ought to ask this question BEFORE I get too far along.

which is better practice?

building a form to write data to a blog table on my data base and another form to write news data to a table on my database

OR

has one from right to an articles table on my data base and have that data given a value of 'category:blog', 'category:new', etc and have my display pages set to pull all info from the article database under 'category:x'. eg my blog page pull data from the article table in my database that has a category value of blog. This is how Joomla works and I believe wordpress as well.


Messages In This Thread
best practices - by El Forum - 11-16-2012, 03:20 PM
best practices - by El Forum - 11-16-2012, 05:14 PM
best practices - by El Forum - 11-16-2012, 09:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB