Results 1 to 8 of 8
-
11th Feb 2010, 06:59 PM #1OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.comNew PHP Framework ideas!
Heya everyone!
need your help here.. as you know ive been doing some tutorials on a PHP framework that will be open source but i want some ideas for it!
So far heres what i have!
- PHP 5 OOP
- Database tools
- Input Handler
- Output Handler
- Registry System
- Smarty Template Engine
- Application based
This is just some of the main features !
How the application will work..
The idea behind this application framework will be application based!
Applications are like modules there will be a folder for the applications!
applications can be anything from fully fledged forum to a simple addon for any other application!
so lets say you have a forum application installed and ready! you then download another application thats the moderator control panel!
And lets say you wanted a blog as well
you just create a file called blog.php and then load the blog application into the system and then the applications programming will do the rest !
ok so heres where you come in!
i want ideas for the framework, for example things that you find hard to do with PHP i want to make it simple for you so let me know!
any other input will be appreciated!
thankslitewarez Reviewed by litewarez on . New PHP Framework ideas! Heya everyone! need your help here.. as you know ive been doing some tutorials on a PHP framework that will be open source but i want some ideas for it! So far heres what i have! PHP 5 OOP Database tools Input Handler Rating: 5Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
11th Feb 2010, 09:49 PM #2Member
I never really found anything hard in php as its most straight forward. Recently however curl been giving me problems. Not sure if it counts.
-
11th Feb 2010, 09:52 PM #3OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.comyea a simplified curl module can be added !
to make it easy ill try make it as simple as file_get_contents(); :/Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
11th Feb 2010, 09:56 PM #4Member
Alright thanks lite your the best
-
11th Feb 2010, 10:50 PM #5OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.comSp far its looking pretty powerfull!
heres an example of the way the application system is working out!
we have a folder called system/applications/ and in there goes the application!
the application im building rounds is an application called sample!
so in the root index.php we have this
PHP Code:<?php
//Define root base fo security
define('BASE_PATH',str_replace("\\","/",dirname(__FILE__)));
/*
* Include the framwork system
*/
include BASE_PATH . '/system/Startup.php';
//Load the sample application
Registry::get('Application')->load('sample');
Registry::get('Application')->load('ddl');
Registry::get('Output')->send();
?>
and in the file based at system/applications/sample/load.php we have
PHP Code:<?php
if(!defined('BASE_PATH')){exit;}
/*Define the application path*/
define('APPLICATION_ROOT_PATH',str_replace("\\",'/',dirname(__FILE__)));
/*Grab the config for the tempate so we can reassign it*/
$template = Registry::get('Config')->template;
/*Applications own template folders*/
$template->template_dir = APPLICATION_ROOT_PATH . '/styles/main/';
$template->compile_dir = APPLICATION_ROOT_PATH . '/styles/main/compile/';
$template->config_dir = APPLICATION_ROOT_PATH . '/styles/main/config/';
$template->plugins_dir[] = APPLICATION_ROOT_PATH . '/styles/main/plugins/';
/*Reassign the template config adn reparse it*/
Registry::get('Config')->template = $template;
Registry::get('Template')->parseTemplateConfig();
//here you can output information to the webrowser via all the framework tools we have implied
//...
//..
//.
?>Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
12th Feb 2010, 02:30 PM #6Just Another Coder
Thank for the info!!
-
12th Feb 2010, 03:03 PM #7OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.com
This is a sample application load.php fetching data from a site with all default curl info already set so its just as simple as the url !
PHP Code:<?php
if(!defined('BASE_PATH')){exit;}
//Check framework_version
/*Define the application path*/
define('APPLICATION_ROOT_PATH',str_replace("\\",'/',dirname(__FILE__)));
/*tell the template system what folder were using*/
Registry::get('Config')->template->theme_name = 'proxy';
Registry::get('Template')->reparseTemplateConfig();
//here you can output information to the webrowser via all the framework tools we have implied
//Lets load the curl module
$curl = Registry::get('Module')->load('curl');
$curl->run('http://litewarez.net');
$litewarez = $curl->getData();
//Output to the browser
Registry::get('Output')->send($litewarez);
?>
if you wish to download the code and check it out then feel free to grab the latest source
http://litewarez.net/framework.rarJoin Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
12th Feb 2010, 11:18 PM #8Member
saved thanks lite, looking really good. Ill give it a test run.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
RAD Framework
By SplitIce in forum Web Development AreaReplies: 40Last Post: 5th Oct 2012, 05:29 PM -
php-APP - Easy php APP framework
By devNULL in forum Web Development AreaReplies: 1Last Post: 17th Apr 2012, 05:14 AM -
Genesis Framework - WP help.
By BattleDuty in forum WordpressReplies: 6Last Post: 20th Dec 2011, 05:34 PM -
Run .net framework app without it
By pankaj in forum Web Development AreaReplies: 12Last Post: 11th Jul 2010, 12:27 PM -
Framework Title / Slogan ideas!
By litewarez in forum Polling PlazaReplies: 20Last Post: 21st Feb 2010, 01:10 AM
themaCreator - create posts from...
Version 3.08 released. Open older version (or...