[PHP] Swiftlet is quite possibly the smallest MVC framework you'll ever use.

2012-02-11 Thread Elbert F
I'm looking for constructive feedback on Swiftlet, a tiny MVC framework that leverages the OO capabilities of PHP 5.3. It's intentionally featureless and should familiar to those experienced with MVC. Any comments on architecture, code and documentation quality are very welcome. Source code and do

Re: [PHP] Swiftlet is quite possibly the smallest MVC framework you'll ever use.

2012-02-12 Thread Elbert F
7;d like you to create a small workflow what your framework is doing in > which order. Your framework to me looks like this image: > http://imageshack.us/f/52/mvcoriginal.png/ But I'd rethink if this > structure would give you more flexibility: > http://betterexplained.com/wp-content/

[PHP] Re: Swiftlet is quite possibly the smallest MVC framework you'll ever use.

2012-02-12 Thread Elbert F
Hi Paul, Swiftlet implements PSR-0, an unofficial standard that many of the larger frameworks seem to be adopting. It simply maps namespaces to a path, e.g. Foo\Bar\Baz translates to Foo/Bar/Baz.php. The advantage is that you should be able to drop in third-party libraries which are included by th

[PHP] Re: Swiftlet is quite possibly the smallest MVC framework you'll ever use.

2012-02-13 Thread Elbert F
ars ago and was more about making things > way more complex than they could be just to think about maximum flexibility > .. > > I pretty much also like the no-config part. > http://en.wikipedia.org/wiki/Convention_over_configuration > > > Bye > Simon > > 2012/2/12 Elbe

Re: [PHP] pathinfo or other

2012-02-15 Thread Elbert F
SCRIPT_NAME is a server side path, try REQUEST_URI. This includes the query string but it's easy to remove. Elbert http://swiftlet.org On Thu, Feb 16, 2012 at 8:27 AM, Donovan Brooke wrote: > Hello, > > What is the best way to get the /somedir/ values in the request URI? > > I tried > $t_pathi