Giter Club home page Giter Club logo

nimblize's Introduction

#Nimblize

Nimblize is a php framework much like ruby on rails that aims to be RESTful and make rapid development in php a reality

##Getting started

install the framework

pear install jetviper21.pearfarm.org/nimblize

create your application skeleton

nimblize <your app name>

Also see Getting started and PHP Docs

###Database settings and enviroments

Database settings are stored as json files in

config//database.json

Note: the only adapter that is testing and working at this time is mysql

nimblize's People

Contributors

johnbintz avatar scottdavis avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sdellysse

nimblize's Issues

Add short url helper

u('page_path', 1) : would echo out a route to /page/1

add support to the routing for short names in routing
ex.
R('')->controller('PageController')->action('show')->on('GET')->short_name('page_path');

Passing a name variable to view messes up everything

I was creating an "advanced hello world" app and thought of passing a name to the view like this:
public function index() {
$this->name = 'bla';
}

But then i've got a blank page and found this out on my apache log file:

[Tue Jan 26 18:58:47 2010] [error] [client 127.0.0.1] PHP Fatal error: require(): Failed opening required 'bla' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/php/nimblize/nimble_pack/lib/controller.php on line 149

[Tue Jan 26 18:58:47 2010] [error] [client 127.0.0.1] PHP Stack trace:

[Tue Jan 26 18:58:47 2010] [error] [client 127.0.0.1] PHP 1. {main}() /home/fabio/sandbox/testando/config/boot.php:0

[Tue Jan 26 18:58:47 2010] [error] [client 127.0.0.1] PHP 2. Run() /home/fabio/sandbox/testando/config/boot.php:95

[Tue Jan 26 18:58:47 2010] [error] [client 127.0.0.1] PHP 3. Nimble->dispatch() /usr/share/php/nimblize/nimble_pack/nimble.php:35

[Tue Jan 26 18:58:47 2010] [error] [client 127.0.0.1] PHP 4. Controller->render() /usr/share/php/nimblize/nimble_pack/lib/base.php:181

[Tue Jan 26 18:58:47 2010] [error] [client 127.0.0.1] PHP 5. Controller->open_template() /usr/share/php/nimblize/nimble_pack/lib/controller.php:121

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.