TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   TalkPHP Developer Team (http://www.talkphp.com/talkphp-developer-team/)
-   -   File Structure Change (http://www.talkphp.com/talkphp-developer-team/3863-file-structure-change.html)

Village Idiot 01-13-2009 10:20 PM

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.

Orc 01-14-2009 09:18 AM

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...

Village Idiot 01-14-2009 01:56 PM

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.

Orc 01-15-2009 12:34 AM

Quote:

Originally Posted by Village Idiot (Post 21190)
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.

Oh well, at least I don't have to work with it on this project :-D so yay!

Village Idiot 01-15-2009 12:43 AM

I'll try to assign you apart from it if you wish, but I make no promises.

Orc 01-15-2009 12:45 AM

Quote:

Originally Posted by Village Idiot (Post 21200)
I'll try to assign you apart from it if you wish, but I make no promises.

Well I want to make/finish that config class before I work on something else.

Village Idiot 01-15-2009 03:01 AM

I know, I'm talking in the future.

abigail 01-22-2013 03:30 AM

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