ferrari Posted October 30, 2012 Share Posted October 30, 2012 I am looking for something which could work with asp.net and is as efficient as HAML. Quote Link to comment Share on other sites More sharing options...
requinix Posted October 30, 2012 Share Posted October 30, 2012 XML, actually. But the answer to your question is "just use HTML". Quote Link to comment Share on other sites More sharing options...
ferrari Posted October 30, 2012 Author Share Posted October 30, 2012 I know the use of XML for sitemaps. Would it be convenient to approach it in this realm? Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 30, 2012 Share Posted October 30, 2012 Just use HTML. Quote Link to comment Share on other sites More sharing options...
trq Posted October 30, 2012 Share Posted October 30, 2012 What exactly are you looking to do with this markup? Quote Link to comment Share on other sites More sharing options...
ferrari Posted October 30, 2012 Author Share Posted October 30, 2012 I spotted XAML. I am wondering is it well implemented in asp.net? Is there a reference list for it? I am looking to build websites quick. Quote Link to comment Share on other sites More sharing options...
Jessica Posted October 30, 2012 Share Posted October 30, 2012 Why are you asking about asp.net on a php forum? I never understand this. Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted October 30, 2012 Share Posted October 30, 2012 You're asking about ASP/XAML in a PHP/HTML forum. Why do you believe HTML isn't "quick" enough? That's what we all use. Quote Link to comment Share on other sites More sharing options...
salathe Posted October 30, 2012 Share Posted October 30, 2012 There are .NET implementations of HAML too, if you're already familiar with HAML and .NET (it sounds like you might be) then run with it. Quote Link to comment Share on other sites More sharing options...
KevinM1 Posted October 30, 2012 Share Posted October 30, 2012 XAML is proprietary markup used by Silverlight, WPF, and Windows 8 to denote where data bound, interactive elements are on a page. It's not an all-purpose markup language. Again, the answer is HTML. It's one of the foundational technologies of the web, and there's no reason not to use it. Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted October 30, 2012 Share Posted October 30, 2012 there's no reason not to use it.My previous company actually did all their markup through XML and XSLT. No "HTML" on the entire site, it was all translated by the XSLTs, mostly automatically by the generic "translate page" function. Quote Link to comment Share on other sites More sharing options...
ferrari Posted October 31, 2012 Author Share Posted October 31, 2012 HAML seems cool I have to say. It does not take much to have everything set up and styled up with the stylesheets. It seems quick. Yet, unfortunately only usable for Ruby. Quote Link to comment Share on other sites More sharing options...
haku Posted October 31, 2012 Share Posted October 31, 2012 My previous company actually did all their markup through XML and XSLT. No "HTML" on the entire site, it was all translated by the XSLTs, mostly automatically by the generic "translate page" function. Out of curiosity, why? Quote Link to comment Share on other sites More sharing options...
trq Posted November 1, 2012 Share Posted November 1, 2012 unfortunately only usable for Ruby I'm not sure where you get your information from. Delusions maybe? Quote Link to comment Share on other sites More sharing options...
smoseley Posted November 1, 2012 Share Posted November 1, 2012 (edited) My previous company actually did all their markup through XML and XSLT. No "HTML" on the entire site, it was all translated by the XSLTs, mostly automatically by the generic "translate page" function. I'm assuming you didn't have your hands in the development of the XSL-T and aren't completely familiar with how it works. XSL-T transforms XML into another format. Very commonly, it's used as a templating scheme to transform XML into HTML, which is likely what your previous employer was doing. Edited November 1, 2012 by smoseley Quote Link to comment Share on other sites More sharing options...
smoseley Posted November 1, 2012 Share Posted November 1, 2012 (edited) HAML seems cool I have to say. Seems pointless to me. It's like CoffeeScript, or Hibernate, or any ORM in existence. Abstraction of a common language for the sole purpose of making it "pretty" does 2 things: 1. it requires developers in your group to double their knowledge-base, and 2. it slows down a) deployment time, or b ) website speed EDIT: 3) It makes debugging a pain in the arse... because you have to manually map out the error in your translated code to the actual line of code that generated it. Edited November 1, 2012 by smoseley Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted November 1, 2012 Share Posted November 1, 2012 yes, obviously XSLT was used to transform into HTML, that's how web pages are made. We used XML so that we could build pages using SimpleXML and so all our documents would be well-formed. XHTML would have been just as good, really, but there were other side benefits, like firefox opening up our source documents as traversable trees instead of pages. Quote Link to comment Share on other sites More sharing options...
smoseley Posted November 2, 2012 Share Posted November 2, 2012 (edited) yes, obviously XSLT was used to transform into HTML, that's how web pages are made. We used XML so that we could build pages using SimpleXML and so all our documents would be well-formed. XHTML would have been just as good, really, but there were other side benefits, like firefox opening up our source documents as traversable trees instead of pages. Gotcha. Misunderstood what you were saying (seemed like you thought there was no HTML involved). So you did this in PHP? Did you use Sablotron to do server-side transformation for browsers that don't support XSL-T? Edited November 2, 2012 by smoseley Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.