![]() |
File Structure Change (once again since creation)
After reviewing the file structure, I have decided to remove the implementation layer and place it in the main files. All the design abstraction is in the templates, so adding another layer between the file itself and the implemented code is silly. The folder structure for code is currently:
[script root]/: This is were the front end files are actually located, the inline code that actually does the stuff is located here. core/: This is where the class and core logic files are located. These are strictly functions and classes, absolutely no inline code is allowed in these files. style/: This is where client side files such as javascript and CSS are located. templates/: Where the smarty templates are located. Smarty script files are in the core directory. |
Why smarty? I don't like it. :( I mean, we can always use that XML Engine called PHPTAL, although I'd like to make one myself, but why .. reinvent the wheel...
|
Because it is very straight forward and easy to use. I also don't like PHPTAL because it functions too much as a programming language. While smarty gives you the ability to do most of that, it is not nearly as integrated. Templating is merely a way to separate code logic from design, not to add another layer of processing to have to think through during debugging.
|
Quote:
|
I'll try to assign you apart from it if you wish, but I make no promises.
|
Quote:
|
I know, I'm talking in the future.
|
I don't like it.
|
| All times are GMT. The time now is 10:25 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0