Tagged: MVC RSS Toggle Comment Threads | Keyboard Shortcuts

  • danielsaidi 7:14 pm on March 18, 2011 Permalink | Reply
    Tags: , MVC, Wigbi 1.1.1   

    Wigbi 1.1.1 (.htaccess hotfix) is out 

    So, yesterday evening, I finished putting together Wigbi 1.1.0, which is a better wrap-up than the 1.0.3 release…and today, I decided to release a quick hotfix – Wigbi 1.1.1.

    Wigbi 1.1.1 takes care of an .htaccess rewrite bug that caused the MVC engine to ignore any defined query strings. Two big thumbs up to Fredrik Bonander who helped me out with the regexp bug handling!

    Wigbi 1.1.1 comes with an already configured MVC template set that features a basic, but fully functional MVC routing .htaccess file, a controller handler that receives all registered routes in the .htaccess file, as well as a default Home controller, a target Index view as well as a simple master page.

    This setup will probably help you get started a lot quicker than if you were to start off from a clean slate. I also uploaded a new video tutorial that demonstrates how to download Wigbi and get it up and running. If you decide to give Wigbi a try, let me know what you think.

    Download Wigbi and watch the video tutorial here.

     

     
  • danielsaidi 11:36 pm on March 16, 2011 Permalink | Reply
    Tags: , MVC, Wigbi 1.1.0   

    Wigbi 1.1.0 is out! 

    1.1.0? Yes, I take a biig leap and upgrade the version to 1.1.0. In this release, I have added an MVC template that features a controller, one view and a master page. Hopefully, this setup will help you get started a bit quicker than the old index-wigbi.php page. You do not have to use the templates, but they are there if you want to.

    So, instead of the index-wigbi.php page, Wigbi now comes with a brand new file called REMOVE_THE_FILENAME.htaccess. Just remove the file name (yes, just like the file name told you) to make it into an .htaccess file. This is the file that will be responsible for the MVC routing.

    Also…the MasterPage class has changed quiite a bit compared to Wigbi 1.0.3. Since the View class can be used to push data to views, variable handling in the master page class is no more. Furthermore, the file path must now be set separately and not when calling build. Finally, all the content area related methods are now removed to openContentArea, closeContentArea and getContent.

    So, now, it is a lot easier to start Wigbi in 1.1.0. No starting / stopping must be added to the master page, or any page at all. It is all happening in the controller start point. Good stuff!

    I will update the start page video so that it shows the most current setup. Until then, you can download Wigbi 1.1.0 here.

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

    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.