{"id":849,"date":"2014-03-04T11:58:46","date_gmt":"2014-03-04T18:58:46","guid":{"rendered":"http:\/\/www.cassandraking.net\/wordpressapp\/?p=849"},"modified":"2014-03-04T11:58:46","modified_gmt":"2014-03-04T18:58:46","slug":"alternative-sass-solutions-for-net-the-good-and-the-bad","status":"publish","type":"post","link":"https:\/\/www.cassandraking.net\/wordpressapp\/alternative-sass-solutions-for-net-the-good-and-the-bad\/","title":{"rendered":"Alternative SASS Solutions for NET, The Good and the Bad"},"content":{"rendered":"<p><strong>SASS: Native Ruby + SASS<\/strong><\/p>\n<ul>\n<li><strong>Good:<\/strong> Fastest server compilation<\/li>\n<li><strong>Good:<\/strong>\u00c2\u00a0Able to use latest versions of SASS, including all relevant options via flags to the sass and scss command-line executables<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0Setup time is more intensive than with a pre-built extension or plugin for VS<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0Every front end dev workstation needs ruby setting up<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0More difficult for .NET devs to solve possible ruby integration issues<\/li>\n<\/ul>\n<p><strong>SASS via NuGet and Squishy SASS<\/strong><\/p>\n<ul>\n<li><strong>Good:<\/strong>\u00c2\u00a0Decent server compilation<\/li>\n<li><strong>Good:<\/strong>\u00c2\u00a0Able to use latest versions of SASS<\/li>\n<li><strong>Good:<\/strong>\u00c2\u00a0Minification of CSS and JS out of the box<\/li>\n<li><strong>Good:<\/strong>\u00c2\u00a0and Con: Setup time is a bit less intensive that with native Ruby (above), but a bit more than with Workbench (below)<\/li>\n<li><strong>Bad: <\/strong>as of right now, it&#8217;s not supporting placeholders (here is the open issue on github <a href=\" https:\/\/github.com\/jetheredge\/SquishIt\/issues\/280\">\u00c2\u00a0https:\/\/github.com\/jetheredge\/SquishIt\/issues\/280<\/a> and a possible solution\u00c2\u00a0<a href=\"https:\/\/github.com\/jetheredge\/SquishIt\/pull\/281\">https:\/\/github.com\/jetheredge\/SquishIt\/pull\/281<\/a>)<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0Documentation is a bit sparse (support group: <a href=\"https:\/\/groups.google.com\/forum\/#!forum\/squishit|https:\/\/groups.google.com\/forum\/#!forum\/squishit\">https:\/\/groups.google.com\/forum\/#!forum\/squishit|https:\/\/groups.google.com\/forum\/#!forum\/squishit<\/a>)<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0The most obvious issue is that these solutions require a server side component, adding a dependency, tying you to a platform and consuming your valuable CPU cycles. Modern, single page web applications perform rendering tasks on the client, relying on server side processes purely for process and data access. Adding a dependency like this just adds unnecessary complexity<\/li>\n<\/ul>\n<p>(Documentation: <a href=\"http:\/\/blogs.lessthandot.com\/index.php\/webdev\/serverprogramming\/aspnet\/squishit-and-nancy\/\">http:\/\/blogs.lessthandot.com\/index.php\/webdev\/serverprogramming\/aspnet\/squishit-and-nancy\/<\/a>, <a href=\"https:\/\/github.com\/jetheredge\/SquishIt\/wiki\/Using-SquishIt-programmatically-without-the-file-system\">https:\/\/github.com\/jetheredge\/SquishIt\/wiki\/Using-SquishIt-programmatically-without-the-file-system<\/a>)<\/p>\n<p><strong>SASS via Visual Studio plugin like Mindscape Web Workbench<\/strong><\/p>\n<ul>\n<li><strong>Good:<\/strong>\u00c2\u00a0Easy to get started<\/li>\n<li><strong>Good:<\/strong>\u00c2\u00a0Fast compiling<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0what you gain in simplicity you lose in flexibility<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0Only a few of the options that the \u00e2\u20ac\u0153sass\u00e2\u20ac\u009d command supports are available when compiling (the &#8211;g debug flag), and the rest of the features are not very configurable.<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0Every developer working with SASS styles needs an IDE plugin<\/li>\n<li><strong>Bad:<\/strong>\u00c2\u00a0Can&#8217;t quickly change styles on the server &#8211; requires local re-processing<\/li>\n<li><strong>Bad:<\/strong> The most obvious issue is that these solutions require a server side component, adding a dependency, tying you to a platform and consuming your valuable CPU cycles. Modern, single page web applications perform rendering tasks on the client, relying on server side processes purely for process and data access. Adding a dependency like this just adds unnecessary complexity<\/li>\n<\/ul>\n<p>(<a href=\"http:\/\/www.mindscapehq.com\/products\/web-workbench\"> Web Workbench by Mindscape<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SASS: Native Ruby + SASS Good: Fastest server compilation Good:\u00c2\u00a0Able to use latest versions of SASS, including all relevant options via flags to the sass and scss command-line executables Bad:\u00c2\u00a0Setup time is more intensive than with a pre-built extension or plugin for VS Bad:\u00c2\u00a0Every front end dev workstation needs ruby setting up Bad:\u00c2\u00a0More difficult for [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[188,29,144,187,189],"tags":[],"_links":{"self":[{"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/posts\/849"}],"collection":[{"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/comments?post=849"}],"version-history":[{"count":3,"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/posts\/849\/revisions"}],"predecessor-version":[{"id":889,"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/posts\/849\/revisions\/889"}],"wp:attachment":[{"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/media?parent=849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/categories?post=849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cassandraking.net\/wordpressapp\/wp-json\/wp\/v2\/tags?post=849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}