<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://shazwazza.com/rss/xslt"?>
<rss xmlns:a10="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Shazwazza</title>
    <link>https://shazwazza.com/</link>
    <description>My blog which is pretty much just all about coding</description>
    <generator>Articulate, blogging built on Umbraco</generator>
    <image>
      <url>/media/0libq25y/frog.png?rmode=max&amp;v=1da0e911f4e6890</url>
      <title>Shazwazza</title>
      <link>https://shazwazza.com/</link>
    </image>
    <item>
      <guid isPermaLink="false">1305</guid>
      <link>https://shazwazza.com/post/client-dependency-framework-beta-released/</link>
      <category>Client Dependency</category>
      <title>Client Dependency Framework Beta Released</title>
      <description>&lt;div class="imported-post"&gt;This post was imported from FARMCode.org which has been discontinued. These posts now exist here as an archive. They may contain broken links and images.&lt;/div&gt;I’ve posted a new Beta release on CodePlex, you can get it here: &lt;a href="http://clientdependency.codeplex.com/Release/ProjectReleases.aspx" target="_blank"&gt;http://clientdependency.codeplex.com/Release/ProjectReleases.aspx&lt;/a&gt;. On the releases tab includes a sample web site that has most of the functionality that you can do so please download it for a documentation reference.&lt;/p&gt;  &lt;h2&gt;Newest changes &amp;amp; additions&lt;/h2&gt;  &lt;ul&gt;   &lt;li&gt;Namespace and codebase changes/steamlining&lt;/li&gt;    &lt;li&gt;Proper versioning added&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Versioning is done on a global basis in the config&lt;/li&gt;      &lt;li&gt;Old versions are retained and can still be accessed from the Client Dependency URL that was previously used (if necessary) &lt;/li&gt;      &lt;li&gt;Versioned composite files names are prefixed with the version number (i.e. version 2 files will be prefixed with '2_') so it's easy to figure out which files are old &lt;/li&gt;      &lt;li&gt;The composite file map also reflects which composite file sets are under a specific version&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Provider model extended to support 2 types of providers: &lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;File Registration Providers        &lt;ul&gt;         &lt;li&gt;Still comes with 2 providers: page header provider and a lazy loading JavaScript client based provider&lt;/li&gt;       &lt;/ul&gt;     &lt;/li&gt;      &lt;li&gt;Composite File Providers: &lt;/li&gt;      &lt;ul&gt;       &lt;li&gt;Comes with the standard provider: CompositeFileProcessor &lt;/li&gt;        &lt;li&gt;You can implement your own provider to customize the way that files are combined, compressed, minified, etc... if the standard provider isn't exactly what you are after&lt;/li&gt;     &lt;/ul&gt;   &lt;/ul&gt;    &lt;li&gt;Forced providers! You can now force a dependency to use a particular provider. This can be useful if you want to ensure that a particular script or stylesheet is rendered on to the page differently. For example, you may want to ensure that a script is lazy loaded (using the lazy load provider) but the rest are rendered in the page header. &lt;/li&gt;    &lt;li&gt;Utility methods added to the ClientDependencyLoader for more dynamic implementations &lt;/li&gt;    &lt;li&gt;A test website is included in the release which doubles as documentation, it includes:      &lt;ul&gt;       &lt;li&gt;Standard page header provider example &lt;/li&gt;        &lt;li&gt;Forced providers example &lt;/li&gt;        &lt;li&gt;Lazy load provider example &lt;/li&gt;        &lt;li&gt;Dynamically registering dependencies in your code behind &lt;/li&gt;        &lt;li&gt;Registering dependencies with attributes and via aspx controls&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Things //TODO:&lt;/h2&gt;  &lt;p&gt;I’ve finished off versioning so at least i can cross that off from the previous list. But there’s still more to do:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Implement functionality for jQuery CDN&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;This will be a new control/attribute to easily include jQuery in your project&lt;/li&gt;      &lt;li&gt;You will have the option to select which CDN you want to use (Microsoft or Google), or you can supply an address (like your own CDN/web server)&lt;/li&gt;      &lt;li&gt;Though this framework will be included in Umbraco 4.1, we’ll be leaving this functionality out of the Umbraco build as we realize that there are quite a few installs that operate behind a firewall that won’t have access to the CDN.&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Implement skeleton for Microsoft AJAX 4 CDN&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Again, this will be another new control/attribute to easily include Microsoft’s new brand of AJAX with their CDN solution&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Add support for MVC&lt;/li&gt;    &lt;li&gt;Support for JS/CSS Minification with options to disable per dependency&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;The reason this hasn’t been implemented yet is that I’ve found a lot of scripts/stylesheets break with minification so we need to be able to turn this on/off on a per file basis&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Some more documentation/examples in the example web application&lt;/li&gt; &lt;/ul&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:08:14 Z</pubDate>
      <a10:updated>2023-03-23T15:08:14Z</a10:updated>
    </item>
  </channel>
</rss>