Ever wonder if what you have designed is a good design?
Posted: Fri Sep 08, 2006 2:19 pm
i'm wondering this right now. of course it's for my own system and it's WICKED fast. as in nothing is slower than 1/1000th of a second.
well i've just about finished putting what i call PrettyURLs in there and have to convert everything int he system from regular HTTP crap to this version. (http://localhost/framework/index.php/written). well i've got to change my extensions to parse this as well.
i've created a many to one Model/Controller setup and it's really easy to use. the system actually takes the URL and parses only from certain parts on. so the root front controller (index.php) parses the first 2 parts of the URL and the extensions take the next two (possibly more) from then on. it's passed down from each.
well, with this setup everything is pretty tight and for the most part everything is where it needs to be, nothing is called when it shouldn't be called. basically it's REALLY tightly knit and changing one thing is a day's work of fixing. this is prolly what gives me my speed but then i'm losing dynamics for this. which is fine i'm not really crying about it.
but making a new extension is very much exactly the same format for each one. any deterance and you won't have a functional extension. which is fine because startup is really easy but porting could be a PITA.
i'm not going to change it but what do you guys think? is this a bad way to go or a fine way to go. i think it's great for speed and certain other aspects. but any major change (as in PrettyURLs) and it's a major project to take on...
tell me what you think
well i've just about finished putting what i call PrettyURLs in there and have to convert everything int he system from regular HTTP crap to this version. (http://localhost/framework/index.php/written). well i've got to change my extensions to parse this as well.
i've created a many to one Model/Controller setup and it's really easy to use. the system actually takes the URL and parses only from certain parts on. so the root front controller (index.php) parses the first 2 parts of the URL and the extensions take the next two (possibly more) from then on. it's passed down from each.
well, with this setup everything is pretty tight and for the most part everything is where it needs to be, nothing is called when it shouldn't be called. basically it's REALLY tightly knit and changing one thing is a day's work of fixing. this is prolly what gives me my speed but then i'm losing dynamics for this. which is fine i'm not really crying about it.
but making a new extension is very much exactly the same format for each one. any deterance and you won't have a functional extension. which is fine because startup is really easy but porting could be a PITA.
i'm not going to change it but what do you guys think? is this a bad way to go or a fine way to go. i think it's great for speed and certain other aspects. but any major change (as in PrettyURLs) and it's a major project to take on...
tell me what you think