Home > sb

sb

Sb is a project mainly written in PHP, it's free.

simple php library for developing web application

Trinket

NJR(NanJi Repository) is the next generation PHP library for developing web applications.

"NJ" is a code name for this project,since "Nan Ji" where we work at.

PHP Dependencies

Version:

  • PHP 5+

Modules:

  • memcached
  • pcre
  • curl
  • pdo
  • apc recommended but not required.
  • semaphore recommended but not required.

Installing Locally

_Note that this install currently requires read/write permission at /usr/share/ where NJR will be put under.

  • sudo make install

After Install

  • Define NJR path like this: defined('NJR') or define('NJR','/usr/share/NJR/');

  • Import NJR lib in your code as follows: require("/usr/share/NJR/NJ.php");

  • Load and run NJ_XXX as you wish.

Todo (after alpha)

  • Simple implement of data structure such as Queue,Stack...

  • Provide functionalities specific to console requests