Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Waylon Martinez 12 posts 37 karma points
    Jul 28, 2011 @ 23:10
    Waylon Martinez
    0

    Features I will be including in the next version

    I hope to grow this project into something that others find valuable additions to their umbraco instances.

    Features that will be included in the next release are:

    IS<T> specification pattern extension

    I have created this collection of extensions of the last couple of years and have found that they are very useful and a great way to be more expressive with your code syntax.

    IE: Instead of:

    if(String.IsNullOrEmpty(Request["var"])) dosomething();

    You can say

    if(Request["var"].Is().NullOrEmpty()) dosomething();

    Or

    if(x.Is().GreaterThan(y).OrEqualTo()) dosomething();

    There is a huge collection of examples i will be providing on the next update.

     

    JSON crossdomain GET request handler

    In a recent project i had a need to display content on a page that wasn't itself maintained up the umbraco framework but the content that we wanted to display was. We didn't want to use an iframe to display this content and the biggest coviote was the page was on a different domain that the umbraco instance. After digging around and following some online example I created a set of additions that allowed me to 'request' data using a jquery.ajax request and return a serialized JSON object of the document type properties.

Please Sign in or register to post replies

Write your reply to:

Draft