Git Product home page Git Product logo

frood's People

Contributors

akimsko avatar izzlazz avatar rhl-jfm avatar thomasnordahl-dk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

frood's Issues

Coding standards and license

Are we keeping the current coding standards, or should we choose something more common, like PEAR?

Should we put this project under an open source license?

Working with and documenting default values in controllers

When assigning default values in the current implementation of frood it is done like this:
'''
/*

  • Some action
    *
  • @param interger $id <1> The id
  • @return void
    */
    function indexAction($id) {
    //Do stuff
    }
    '''
    A more php'ish way would be more like:

/*

  • Some action
    *
  • @param interger $id The id
  • @return void
    */
    function indexAction($id = 1) {
    //Do stuff
    }

This might be accomplished by modifying Frood to use http://us2.php.net/debug_backtrace to "discover" the the values and type check them in a pseudo call before the requested action is actually called.

The main thing we gain with this is a docblock without special Frood syntax.

There might be other benefits/drawbacks, but I'll guess we just have to try it out first.

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.