Skip to content
forked from klederson/phpburn

PhpBURN is an (H)MVC framework focused in (re)usability, performance, and low knoledge curve. Fast, easy and performatic. - Call to Arms: We need collaborators to many different implementations such as tests, issues and new features. Please get involved

License

Notifications You must be signed in to change notification settings

PhpBURN/phpburn

 
 

Repository files navigation

Deprecated

While was a great pleasure for me create, maintain and take care of this project since 2008 now it's time to say goodbye, for a long time thousands of projects and people used, inquired, complained and congratulate this project but after ---many--- some years without proper evolution and maintenance I've decided to close this project once it's really deprecated and better tools are available in the market.

I'd like to thank you all for everything, all the support, the messages and the care.

Live long and prosper! 🖖🏽

phpBurn

Build Status

Developed by the manteiner Klederson Bueno, phpBurn is a FRAMEWORK for PHP usage, initialy born as an ORM like hibernate and Nhibernate.

It allows you to create more and faster using OO concepts and patterns with a log of time gain. Using resources for MVC (Model View Controller) phpBurn will make your programming more easy, quick and fun.

Now you can found this project hosted both GitHub and SourceForge at git version control.

Instalation

To install PhpBURN is quite easy first you need to fork or clone PhpBURN code from PhpBURN Official Repository and than you need to use it into your include path by doing in one of this ways:

You can also go to PhpBURN Official Repository and click in DOWNLOAD and choose zip or tar.gz version from that branch.

OBS:

Please note master is equivalent to dev or in-development version and sometimes something can go wrong using it ( some bug or something ) we strongly recommed you to use the stable version in stable branch.

php.ini

Should look something like this: include_path = ".:/php/includes:/Volumes/projects/includes/phpBurn/"

or (Windows): include_path = ".;c:\php\includes;c:\Projects\includes\phpBurn"

ini_set()

ini_set('include_path',get_include_path().":/Volumes/projects/includes/phpBurn");

or (Windows): ini_set('include_path',get_include_path().":C:\Projects\includes\phpBurn");

RAW ( NOT RECOMMENDED )

require_once("/Volumes/projects/includes/phpBurn/app/phpBurn.php");

Generate a application structure

Just enter in your shell and type:

php YOURPHPBURNFOLDER/app/generator.generate.php

And then follow the steps and "voilà" now you have a brand new site working ( if you go to your browser and type http://localhost/mynewprojectfolder ) you sould see a wellcome page.

If you want to use only the ORM you should include and start your phpBurn ( see below )

Usage (FULL - index.php - ALREADY INSTALLED when generator.php is used)

<?php
    require_once("app/phpBurn.php");
?>
<?php
ob_start();
################################
# Hooks
################################
define('SYS_USE_FIREPHP',true,true);

################################
# Including required files
################################
require_once('app/phpBurn.php');
require_once('config.php');

################################
# Starting application
################################
PhpBURN::startApplication();

################################
# Sending a End of File
################################
PhpBURN_Message::output('[!EOF!]');
?>

Usage (ORM ONLY)

################################
# Hooks
################################
define('SYS_USE_FIREPHP',false,true);

################################
# Including required files
################################
require_once('app/phpBurn.php');
require_once('config.php');

################################
# Start PhpBURN needed resources
################################
PhpBURN::enableAutoload();

Documentation

Official Links:

About

PhpBURN is an (H)MVC framework focused in (re)usability, performance, and low knoledge curve. Fast, easy and performatic. - Call to Arms: We need collaborators to many different implementations such as tests, issues and new features. Please get involved

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.9%
  • HTML 0.1%