Game Development Community

dev|Pro Game Development Curriculum

New updates

by Wayne Eversole · 04/06/2012 (4:02 pm) · 5 comments

Well, its not much but I thought any info would be helpful seeing how long
its been since I have done any updates.

I have been learning php for last few weeks and so I thought it be
a good idea to do a CMS system. After diving into it , it took me about
a week to get one together with the most common things.

It runs off of 2 databases, one for main page for viewers and for the
admin section for adding, updating, deleting post, news, and main page.

The other database will be for my game if I ever get around to making one lol.
It shows your current profile, ommm first name, last name, email on left side and
your character name and all your stats on right side.

One thing I did add in was user side themes just for messing around. I still have
a lot to learn and a long way to go with it but it is the first thing I have
gotten working on my own as far as programming goes.

Some of the php on the user side is OO PHP but most of it is just functions.

I borrowed an image form GG(Hope thats OK - if not I can take it out.) just for a place holder on the character
screen section just to give a little spice to the plain site.

Any ideas on it would be great.

#1
04/06/2012 (4:09 pm)
DOH forgot the link for the temp site.
http://recaci.site50.net/
#2
04/06/2012 (11:12 pm)
You are writing a CMS? What design model are you using? Model-View-Controller? The site looks good.

If the goal is to learn to write PHP then later on you may want to look at Code Igniter. It is a code base that you can build upon to build your CMS, or anything else. It provides basic proven scripting interfaces to save time building websites. I have learned a LOT from CI to learn what I can do with PHP. It gives you a great toolbox, and it stays out of your way.

Keep us updated as writing a CMS from scratch is a really interesting topic.
#3
04/07/2012 (4:49 am)
Good start Wayne, keep at it.
#4
04/07/2012 (5:39 am)
Some of it is M.V.C but I just throw some stuff together to get it working. Now I need to go back through it all and make it a steady design. I just started writing code for like the admin area and then for main page to display the data and went from there one section at a time.

I will look into Code Ignite and see what that is lol.
I am mainly doing the php to learn. Since it has basically the same structor as torque script I figure it could not hurt :P

I am going to go though all of it and try and convert it over to
OO PHP and see how everything runs if I do not change my mind lol.

Thanks all
#5
04/10/2012 (12:35 am)
Remember to escape all your form submissions and too validate all data...

The ammount of harm I have seen made by injection attacks makes me weep.