Logo

Thoom Technologies

  • Random
  • Archive
  • RSS
Modern MVC web frameworks often involve a lot of boilerplate code just to support the primary client type of User Agents. This boilerplate code typically does little to help with supporting the other client types of Admin Processes and Unit Tests. As a result of the overhead introduced by this extra boilerplate code, developers often find themselves creating Fat Controllers (a side-effect of The MVC Paradox). Controllers take on too many responsibilities, both vertically and horizontally. Vertically, Controllers start to handle domain logic that should be pushed down to the Model layer. Horizontally, multiple concerns get stuffed into a handful of Controllers. These different horizontal concerns should be separated out into multiple Controllers (the Single Responsibility Principle). The overhead introduced by modern MVC web frameworks leads directly to these problems.

The MVC Paradox – Bradley Holt

» This article is a great read and something I’ve been pondering myself recently. The author references the Slim micro framework which, at least from a cursory glance, is very similar to Silex. I love Silex for the same reasons he mentions Slim:

There is very little boilerplate code involved in handling a User Agent’s request. Minting and handling new routes is incredibly simple. Placing your entire front-end application layer in one file may seem absurd at first. However, it has the nice side-effect of making it painfully obvious if you start to handle domain logic outside of your Model layer or if one route is doing too many things.

I’d recommend checking out these micro-frameworks. Silex has opened my eyes to a new way of designing web applications and services. Where Zend Framework has complexity, Silex offers simplicity.

Source: bradley-holt.com

    • #micro frameworks
    • #mvc paradox
    • #silex
    • #slim
    • #php
  • 1 year ago
  • 1
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Hello world Facebook App Using Silex on Heroku

This is a slick and simple Hello World app built on the Facebook platform. Facebook is really lowering the bar to entry on building apps.

    • #Facebook
    • #heroku
    • #silex
  • 1 year ago
  • 19
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Implementing Twitter sign-in with Silex and PHP | adeslade.co.uk

» Silex is awesome and it’s great to see an example using the OAuth library. We recently had a third party spend over a week trying to connect with our web service using OAuth. I couldn’t believe the struggles that they had.

Then today I see an article that shows just how simple it really is :).

    • #oauth
    • #silex
    • #twitter
  • 1 year ago
  • 6
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
A web consulting and development company focused on LAMP technologies
  • Developer-Free Tumblr
  • thoom on github
  • RSS
  • Random
  • Archive
  • Mobile

© 2013 Thoom Technologies.

Effector Theme by Pixel Union