Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

xangelo (at gmail)'s latest activity

Tuesday, April 05 2011
53 Allow dispatch to handle class methods was updated in Limonade
  • xangelo (at gmail)
    xangelo (at gmail) commented at 5:00 PM

    I stand corrected:

    # Static class method call, MyClass::hello();
    dispatch('/hello', array('MyClass', 'hello'));
    
    # Object method call, $obj->hello();
    dispatch(...
Monday, April 04 2011
51 Content-type header was updated in Limonade
  • xangelo (at gmail)
    xangelo (at gmail) commented at 10:49 PM

    Sorry, ignore this. Feature is present in request_method() and $_SERVER['REQUEST_METHOD']

53 Allow dispatch to handle class methods was updated in Limonade
  • xangelo (at gmail)
    xangelo (at gmail) commented at 10:44 PM

    I would think this poses a limitation that is too strict. Anything added through this system would require that you need to have that feature as a static functi...

52 Expose current_request() was updated in Limonade
  • xangelo (at gmail)
    xangelo (at gmail) commented at 9:38 PM

    This is already in place with request_uri

    using your example

    function before() {
        if(request_uri() == '/blog') {
    
        }
        else if(request_uri() == '/') {...
Thursday, March 31 2011
51 Content-type header was created in Limonade
  • xangelo (at gmail)
    xangelo (at gmail) created the ticket at 6:12 PM

    It would be nice to provide a complete RESTful compliant application using limonade-php by utilizing the Content-type in the request header to figure out what k...