Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
floppy




Joined: Nov 29, 2006
Posts: 85
Location: Jackson, Mississippi

PostPosted: Sat Dec 30, 2006 8:14 pm
Reply with quote

Ok got my functions.php and it contains some admin functions and some user functions. Is it wise for me to split these two? I mean the admin side and user side use some of the same functions, but on the admin side are menu's and edit etc etc.

I ask these kind of "ethics" ?'s a lot as seeing as I am fairly new to coding compared to some.
 
View user's profile Send private message Visit poster's website MSN Messenger
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Sat Dec 30, 2006 8:25 pm
Reply with quote

Yeah, in that situation I would split them up. Keep all the common functions together and keep the admin specific functions in a separate file and it can be included only when needed.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©