Welcome Guest, Not a member yet? Register   Sign In
CMS - Couple of questions
#8

[eluser]Pascal Kriete[/eluser]
I'm with Derek. It really depends, particularly for the parser.

For user authentication I usually write a library to do the logic and then have a user model to deal with the db. I've tried putting it all into the library, but it always ends up being sort of messy. I personally prefer having short files and short functions in exchange for a lot of them.

Since the parser will have quite a bit of logic, I would definitely start with a library. Whether or not it warrants an additional model depends on how much database manipulation it has to do. If you only need 2 database functions, then that it's probably easiest to keep them in the library. Short files are great, but there is a point where fragmentation begins.

Have fun Smile .


Messages In This Thread
CMS - Couple of questions - by El Forum - 10-23-2008, 09:35 AM
CMS - Couple of questions - by El Forum - 10-23-2008, 03:01 PM
CMS - Couple of questions - by El Forum - 10-23-2008, 03:13 PM
CMS - Couple of questions - by El Forum - 10-23-2008, 03:19 PM
CMS - Couple of questions - by El Forum - 10-23-2008, 03:43 PM
CMS - Couple of questions - by El Forum - 10-23-2008, 04:33 PM
CMS - Couple of questions - by El Forum - 10-24-2008, 05:19 AM
CMS - Couple of questions - by El Forum - 10-24-2008, 09:16 AM
CMS - Couple of questions - by El Forum - 10-24-2008, 05:37 PM
CMS - Couple of questions - by El Forum - 10-25-2008, 01:50 AM
CMS - Couple of questions - by El Forum - 10-25-2008, 02:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB