Activity Stream
48,167 MEMBERS
61940 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com

    Default 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
    • 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!

    thanks
    litewarez 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: 5
    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


  2.   Sponsored Links

  3.     
    #2
    Member
    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.

  4.     
    #3
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    yea 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


  5.     
    #4
    Member
    Alright thanks lite your the best

  6.     
    #5
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    Sp 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


  7.     
    #6
    Just Another Coder
    Thank for the info!!

  8.     
    #7
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    Quote Originally Posted by DeLeTeD View Post
    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.

    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);
    ?>
    this module supprts all different methods of curl such as set login credentials http statuses and post data etc for external uploading ...

    if you wish to download the code and check it out then feel free to grab the latest source

    http://litewarez.net/framework.rar
    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


  9.     
    #8
    Member
    saved thanks lite, looking really good. Ill give it a test run.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. RAD Framework
    By SplitIce in forum Web Development Area
    Replies: 40
    Last Post: 5th Oct 2012, 05:29 PM
  2. php-APP - Easy php APP framework
    By devNULL in forum Web Development Area
    Replies: 1
    Last Post: 17th Apr 2012, 05:14 AM
  3. Genesis Framework - WP help.
    By BattleDuty in forum Wordpress
    Replies: 6
    Last Post: 20th Dec 2011, 05:34 PM
  4. Run .net framework app without it
    By pankaj in forum Web Development Area
    Replies: 12
    Last Post: 11th Jul 2010, 12:27 PM
  5. Framework Title / Slogan ideas!
    By litewarez in forum Polling Plaza
    Replies: 20
    Last Post: 21st Feb 2010, 01:10 AM

Tags for this Thread

BE SOCIAL