Permalink
Switch branches/tags
Nothing to show
Commits on Jun 2, 2012
  1. Part 12 - Using Dependency Injection Container to make application co…

    Toon Ketels committed Jun 2, 2012
    …nfigurable.
  2. Part 12 - Moving code from frontcontroller to Framework.

    Toon Ketels committed Jun 2, 2012
    Now customizations should go into Framework which is obviously
    not the case. Customizations like registering our Custom Error Handler.
    
    To solve this, we are going to use of Dependency Injection design
    pattern.
  3. Finished part 11 - Using HttpKernel as foundation for custom framework.

    Toon Ketels committed Jun 2, 2012
    Framework would exist out of Custom eventlisteners and contrib code.
Commits on Jun 1, 2012
  1. Use HttpKernel class as Framework.

    Toon Ketels committed Jun 1, 2012
  2. Part 10 - adding http cache.

    Toon Ketels committed Jun 1, 2012
Commits on May 28, 2012
  1. Changed listener objects to subscribers.

    Toon Ketels committed May 28, 2012
    By making them subscribe the object themselves decide wich events
    to listen to and what the priority should be.
  2. Created listener objects instead of functions.

    Toon Ketels committed May 28, 2012
  3. Mid 9 - Added eventDispatcher to let others extend the framework.

    Toon Ketels committed May 28, 2012
    After framework assambled the response, just before returning it,
    the framework let the eventdispatcher class emit a ResponseEvent.
    
    This response event contains the request and response objects.
    
    Listeners to the event can access those objects and therefore can
    modify the response (adding stuff to it).
    
    Listeners need to be added to the eventdispatcher. A listener just
    need to be of type callable (a function will do).
    
    We can set the priority of the listeners to control which order
    they will be alerted.
Commits on May 27, 2012
  1. Finixed 8 - added unit tests for all possible use cases of our framew…

    Toon Ketels committed May 27, 2012
    …ork class.
  2. Separated applications in four components:

    Toon Ketels committed May 27, 2012
      - web: all requests will be routed via here
      - vendor: all vendor libs
      - simplex: our custom framework (which consists of one class to handle a request)
      - Calendar: our custom application
  3. Added Controller object. For it to work performent, made use of contr…

    Toon Ketels committed May 27, 2012
    …ollerResolver,
    
    part of http-kernel component.
  4. Created different application demonstration switch behavior of contro…

    Toon Ketels committed May 27, 2012
    …ller.
  5. Added controller.

    Toon Ketels committed May 27, 2012
  6. Make use of url generation via Routing.

    Toon Ketels committed May 27, 2012
    End of part 4.
  7. Seperated lib and app specific logic by putting routes in separate file.

    Toon Ketels committed May 27, 2012
    Use matcher object to match a request and given routes. Make use of exception
    handling for 404 and other errors.
  8. Removed custom autoloader. Use default Symfony one.

    Toon Ketels committed May 27, 2012
  9. Added dependency to Symfony routing component.

    Toon Ketels committed May 27, 2012
  10. Moved source files to src folder. Changed front controller to

    Toon Ketels committed May 27, 2012
    parse the arguments.
  11. Created a front controller.

    Toon Ketels committed May 27, 2012
    - Moved webroot to /web directory
    - Added htaccess file with rewriting to remove index.php from url
    - Hello and Bye scripts moved to pages dir
    - Hello and Bye script just outputs their contents, get captured by froncontroller
      which sets it as the response content.
  12. Make use of HttpFoundation.

    Toon Ketels committed May 27, 2012
Commits on May 26, 2012
  1. Secured index.php. Added test.

    Toon Ketels committed May 26, 2012
  2. Download autoloader class via composer.

    Toon Ketels committed May 26, 2012
  3. Initial commit.

    Toon Ketels committed May 26, 2012