Dzulqarnain Nasir

Recent Posts

  • January 08, 2013

    Be more productive with Mockjax

    It’s common knowledge that when working in a group we always break the tasks down into smaller portions so as not to choke anyone with too much work. It’s also common for most people working in groups to try and get things done in parallel.

    I work mostly with front-end stuff, while my team-mates work on the back-end stuff. Once we get our assigned tasks done, we get together and spend some time getting everyone’s code to play nice with each other.

    But sometimes, due to unforeseen problems, the tasks don’t get done in time, and one side will need to wait for the other side to get their code up and running. I have, on occasions, had to wait for the back-end code to be up and running before I can test anything, and obviously there are times when it’s the opposite.

    I work with a lot of Ajax stuff, and this means sending data to web services, getting a response, and reacting based on said response. Pretty standard stuff.

    Read more »
  • November 15, 2012

    jQuery Cascading Dropdown Plugin

    I’ve recently released the first version of my jQuery Cascading Dropdown plugin. You can find it on my Github page located here:

    jQuery Cascading Dropdown

    The plugin allows you to implement a cascading dropdown using multiple select boxes in which one select box depends on the input from one or more separate select boxes. Once one or all (depending on the configuration) required select boxes contain a value, it will trigger an event that will fire off the dependant select box so it will fetch its own list.

    It’s free to use, so feel free to download it, use it, even abuse it, as long as you keep the copyright info intact.

  • October 05, 2012

    Cooking the perfect website

    Throughout my career as a web developer, I’ve come to realise that building a website is a lot like cooking. Everything needs to be just right, and that there is a certain balance that needs to be kept. Get it right, and you’ll be serving a Gordon Ramsay dinner - rich, elegant and enjoyed by all. Get it wrong, and you’ll be serving a fast food dinner - greasy, bloated and no good to anyone.

    It’s important to think about what you actually need as it’s very easy to get lost and end up with a website that actually have more features than you actually need.

    I have compiled a list of guidelines that I personally use when starting a new project.

    Read more »
  • August 07, 2012

    CacheManager for EPiServer CMS

    Geta has released yet another open source EPiServer CMS module. This latest module allows EPiServer administrators, as well as anyone with access rights, to manage the cache for EPiServer sites.

    Features

    • One-click cache clear- Clear EPiServer site cache with just one click.
    • Selective cache entry deletion - Select and delete individual cache entries.
    • Cache entry value display - View the contents of cache entries.
    • Multiple server support - Manage cache for multiple servers from a single node.
    Read more »
  • August 07, 2012

    Implementing Web API in your NuGet module

    I’m currently working on a small NuGet module for EPiServer CMS, and I thought it’d be cool to implement a RESTful API using the ASP.NET Web API. However, as you probably already know, you need to make certain adjustments to the Global.asax file to set up some routing so that any requests made is redirected to the appropriate controllers.

    This is fine if you’re implementing Web API into your main project, but not if you’re trying to get it working in a 3rd party module. You really don’t want anyone who installs your module to have to unnecessarily edit anything on their end. It’s just bad design.

    Read more »