TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 01-13-2009, 10:20 PM   #1 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default 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.
__________________

Village Idiot is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is my file? superthin General 3 07-25-2009 09:48 AM
Databse structure Village Idiot TalkPHP Developer Team 3 01-16-2009 10:31 PM
Aptana Jaxer and file uploads xenon Advanced PHP Programming 2 06-06-2008 10:22 AM
Writing to XML file buildakicker General 8 02-06-2008 08:17 PM
checking file extensions. How can I change this? Sam Granger Javascript, AJAX, E4X 5 12-09-2007 04:51 PM


All times are GMT. The time now is 02:05 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design