
Originally Posted by
AristoCat
"different"
just because its different doesnt mean people will use it neither does it make it better
Have you even bothered to read the previous comments or the first post? I think not.
I never said it will be better than the other Frameworks, I'm still a newbie and even the best programmer in RaGEZONE can't make a framework that could compete with the popular frameworks, these are made by people who regularly work on enterprise applications, in case you forgot I'm just a beginner.
Why would anyone use this? I already explained why, this will be more suited for MapleStory and also will give you a complete solution, you wont even need to deal with tech stuff like programming, it will have everything you want. Also changing templates will be so easy that a 12years old could do it without previous knowledge/experience in coding of any sort.
I also plan to make extensions and plugins library for this, to allow people to install new features easily without the need to manually edit files (much like vBulletin has, same can be done for templating), taking MapleStory websites 10 steps ahead. But that's too early to even talk about this.
- - - Updated - - -
Rolled a small update
New view container has been added, still need to isolate it and make some checks (not empty, whether key/value exists, etc).
Loading views is now available as follows
PHP Code:
$this->load()->view([
'name' => 'file_name',
'ext' => 'extension',
'path' => 'path_from_views'
], $data);
// REQUIRED 'name' - that is the name of the file you want to load, if file doesn't exist it will load welcome.php
// optional 'ext' - file extension, default {ENV}EXT=php,
// optional 'path' - inner path to file from views directory, i.e. 'errors/' will look the file at 'application/views/errors/', default {ENV}VIEWPATH=application/views/
TODO
PHP Code:
$this->load()->template([
optional 'above_header' => 'file_name',
optional 'header' => 'file_name',
optional 'header_sub' => 'file_name',
optional 'below_header' => 'file_name',
optional 'above_body' => 'file_name',
REQUIRED 'body' => 'file_name',
optional 'below_body' => 'file_name',
optional 'footer' => 'file_name',
], $data);