Tagged: Controller RSS Toggle Comment Threads | Keyboard Shortcuts

  • danielsaidi 8:56 pm on November 14, 2010 Permalink | Reply
    Tags: Controller, UrlHandler, View, WigbiUIPlugin   

    New view class and new UrlHandler features 

    The new development environment that I have set up provides me with a much faster way of introducing new features to Wigbi. For instance, splitting the Controller class into a View / Controller class pair was a walk in the park. The new View class will now also be extended with all the DOM related methods in the WigbiUIPlugin class.

    The new UrlHandler class has also been extended with two new functions that makes it easy to convert ~/ URLs to web and server relative paths. As a .NET developer, this way of working with application relative URLs is so natural that it is one of the things I have missed most with PHP (except when working with Wigbi that is :)

     
  • danielsaidi 9:43 pm on October 5, 2010 Permalink | Reply
    Tags: Controller,   

    New Controller class 

    I have added a reaaaally simple Controller class, that (even though it is SO basic) will help immensely when developing MVC applications.

    The class has three properties – name(…), action(…) and viewData(…) – and one single method – addView(…). I will try it out in a couple of projects and see if it is good enough.

    The Controller class will be available in Wigbi 1.0.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel
Follow

Get every new post delivered to your Inbox.