Copied to clipboard

Flag this post as spam?

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


  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Dec 07, 2010 @ 10:51
    Biagio Paruolo
    0

    Linq Vs Xslt

    Hi,

    Have you any speed test LINQ4Umbraco vs XSLT?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Dec 07, 2010 @ 11:31
    Anthony Dang
    0

    I'd like to see some stats too. Although from what I'm told, XSLT is faster. Albeit, slower to debug O_o

     

     

  • John C Scott 473 posts 1183 karma points
    Dec 07, 2010 @ 11:32
    John C Scott
    0

    doesn't that depend on who is debugging it ? :p

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Dec 07, 2010 @ 11:35
    Anthony Dang
    0

    *ehem* stacktrace *ehem* ;)

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Dec 07, 2010 @ 11:48
    Aaron Powell
    1

    Can people please stop trying to compare LINQ and XSLT, they aren't comparitable!

    One is a compiled, statically typed language, the other is a dynamic scripting language.

    One is designed for finding data based off strongly typed queries, the other is designed for finding data off dynamic queries.

    If you have to do comparisons compare LINQ to NodeFactory or compare XSLT to the DLR.

    Apples != fish

  • Thomas Stock 40 posts 70 karma points
    Dec 07, 2010 @ 11:51
    Thomas Stock
    0

    I'm new at Umbraco, but don't people compare them because you can often use both methods to achieve the same goal?

    I was told in the Level 2 Certification course that linq2umbraco is an alternative for xslt.

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Dec 07, 2010 @ 12:00
    Aaron Powell
    0

    So is the DLR, so is NodeFactory.

    Don't get hung up on any one particular technology, when the only tool in your toolbox is a hammer everything looks like a screw.

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Dec 07, 2010 @ 12:40
    Biagio Paruolo
    0

    I know that LINQ is an alternative to XSLT for queries Umbraco data, but LINQ can be more simple to write and debug, but uncomfortable to deploy than XSLT because you are able to write it into Umbraco Admin. So, I made this question, not for opening a XSLT/LINQ war.

Please Sign in or register to post replies

Write your reply to:

Draft