<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Eran Nachum's Blog</title>
  <link rel="alternate" type="text/html" href="http://www.eranachum.com/" />
  <link rel="self" href="http://www.eranachum.com/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2012-05-07T05:13:30.745-07:00</updated>
  <author>
    <name>Eran Nachum</name>
  </author>
  <subtitle>www.eranachum.com - Implementing &amp; executing my thoughts...</subtitle>
  <id>http://www.eranachum.com/</id>
  <generator uri="http://www.dasblog.net" version="1.8.5223.2">DasBlog</generator>
  <entry>
    <title>Great Mobile Open Source Converter APIs</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,82850b6c-bf82-47a3-b4ab-60da8d6112bb.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,82850b6c-bf82-47a3-b4ab-60da8d6112bb.aspx</id>
    <published>2012-05-06T07:06:00-07:00</published>
    <updated>2012-05-07T05:13:30.745-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I found a great mobile open source API that can give me a great advantage in order
      to convert web application into a mobile application.
   </p>
        <p>
      The web application development should be using HTML5 and pure JavaScript and by very
      simple steps using the PhoneGap you can simply create your mobile application.
   </p>
        <p>
      PhoneGap gives abilities and great features that could leverage your application according
      the device (OS) supported features like the following usages:
   </p>
        <ol>
          <li>
         Camera 
      </li>
          <li>
         Phone Contacts 
      </li>
          <li>
         Media 
      </li>
          <li>
         Storage 
      </li>
          <li>
         Etc… 
      </li>
        </ol>
        <p>
        </p>
        <p>
      You can full tutorials, examples and abilities <a href="http://phonegap.com" target="_blank">here</a> on
      their website.
   </p>
        <p>
        </p>
        <p>
      One more great thing is you can develop you application just like a regular web application
      that interacts with remote server or a specific DB that sits on your web server. In
      order to count on your WIFI internet connection and to enable your application from
      anywhere, there are great Data Plans for iPad/ iPhone etc…
   </p>
        <p>
      I found great data plan with O2; You can find the specific details under their website
      here: <a href="http://www.o2.co.uk/broadband/ipad-tariff-data-plans" target="_blank">http://www.o2.co.uk/broadband/ipad-tariff-data-plans</a> and
      “be free” to check and use your mobile application from anywhere on your iPad or iPhone…
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=82850b6c-bf82-47a3-b4ab-60da8d6112bb" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Getting Started with HTML 5&amp;ndash;Try the Modernizr</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,2fcaddf7-768b-4855-b0c8-d58b6c9a29ef.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,2fcaddf7-768b-4855-b0c8-d58b6c9a29ef.aspx</id>
    <published>2011-12-06T12:10:00-08:00</published>
    <updated>2011-12-06T04:20:45.6306709-08:00</updated>
    <category term="Javascript" label="Javascript" scheme="dasBlog" />
    <category term="HTML 5" label="HTML 5" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I am getting into HTML 5 lately and a result of some investigations and querying the
      web in order to find great helpers, tools and open source frameworks, I bumped into
      the <a href="http://www.modernizr.com/" target="_blank">Modernizr</a>.
   </p>
        <p>
      This is a great open-source JavaScript library that helps you build the next generation
      of HTML5 and CSS3-powered websites.
   </p>
        <p>
      The Modernizr (in simple words), helps you to find out which elements or features
      are being supported by each major browser.
   </p>
        <p>
      Some of the features and behavior according the official website:
   </p>
        <p>
          <em>Modernizr aims to bring an end to the UA sniffing practice. Using feature detection
      is a more reliable mechanic to establish what you can and cannot do in the current
      browser, and Modernizr makes it convenient for you in a variety of ways:</em>
        </p>
        <ol>
          <li>
            <em>It tests for over 40 next-generation features, all in a matter of milliseconds </em>
          </li>
          <li>
            <em>It creates a JavaScript object (named <code>Modernizr</code>) that contains the
         results of these tests as boolean properties </em>
          </li>
          <li>
            <em>It adds classes to the <code>html</code> element that explain precisely what features
         are and are <strong>not</strong> natively supported </em>
          </li>
          <li>
            <em>It provides a script loader so you can pull in </em>
            <a href="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills">
              <em>polyfills</em>
            </a>
            <em> to
         backfill functionality in old browsers.</em>
          </li>
        </ol>
        <p>
       
   </p>
        <p>
          <img src="http://talks.codelahoma.com/tulsa-techfest-2011/images/modernizr.png" width="504" height="79" />
        </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=2fcaddf7-768b-4855-b0c8-d58b6c9a29ef" />
      </div>
    </content>
  </entry>
  <entry>
    <title>How to render non supported fonts on HTML?</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,69acc6fe-3ba6-4594-ae07-d3006e1211f6.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,69acc6fe-3ba6-4594-ae07-d3006e1211f6.aspx</id>
    <published>2011-11-27T08:33:00-08:00</published>
    <updated>2011-11-27T00:43:40.67075-08:00</updated>
    <category term="HTML" label="HTML" scheme="dasBlog" />
    <category term="Javascript" label="Javascript" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Did you ever get from your graphic designer a request to build a website of a web
      application according to his/her design including the strange (but nice and designed)
      font called “Myriad Pro” or some else non supported fonts by the common browser?!?
   </p>
        <p>
      The common answer that I've responded always is: “Let go for Arial or Verdana – it’s
      supported by all browsers!!, or if you want let’s put an image text with your design
      – but remember it will affect SEO badly…!”
   </p>
        <p>
      It seems that there is a beautiful solution for this “problem” which let you the ability
      to render every kind of font in the world in your website in order to get special,
      clean and “other” font layout.
   </p>
        <p>
      The free online solution for this scenario is <a href="http://typeface.neocracy.org/" target="_blank">typeface.js</a>.
      This solution let you upload your font declaration file into their website and the
      output will be a JavaScript file that hold all declarations of how to render the special
      non supported fonts.
   </p>
        <p>
      Instead of creating images or using flash just to show your site's graphic text in
      the font you want, you can use this solution and write in plain HTML and CSS.
   </p>
        <p>
      I recommend to give it a try – I did!
   </p>
        <p>
          <a title="http://typeface.neocracy.org/" href="http://typeface.neocracy.org/">http://typeface.neocracy.org/</a>
        </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=69acc6fe-3ba6-4594-ae07-d3006e1211f6" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Is Windows 8 Apps to be built on Javascript &amp;amp; HTML?</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,16ff28bf-9915-4291-933b-2dd4fed9ce07.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,16ff28bf-9915-4291-933b-2dd4fed9ce07.aspx</id>
    <published>2011-11-27T08:13:00-08:00</published>
    <updated>2011-11-27T00:30:08.42075-08:00</updated>
    <category term="HTML" label="HTML" scheme="dasBlog" />
    <category term="Javascript" label="Javascript" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Is it seems to be that Microsoft is going to let developers use an open source in
      order to build Windows 8 applications?
   </p>
        <p>
      I read a post on <a href="http://thenextweb.com/microsoft/2011/06/02/microsoft-shows-off-windows-8s-tablet-ui/" target="_blank">TNW</a> that
      says Microsoft is going to do so – this approach will be called “New Windows” and
      will let an easy way to develop mobile and desktop apps using traditional JavaScript
      and HTML 5 for the UI layer.
   </p>
        <p>
      It is important to say that Silverlight wasn’t mentioned in the Microsoft enouncement…!!!
   </p>
        <p>
      I think that these are great news, which will open doors not only developers of all
      kinds (not only .Net developers and MS dedicated technologies developers), but to
      all “kinds” of developers.
   </p>
        <div style="text-align:center">
          <img border="0" src="http://www.eranachum.com/content/binary/Windows-8-start-menu-520x292.png" />
        </div>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=16ff28bf-9915-4291-933b-2dd4fed9ce07" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Web Page Speed Service &amp;ndash; Google Service</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,ce318f15-b02b-4d6b-8f31-0a91a238de11.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,ce318f15-b02b-4d6b-8f31-0a91a238de11.aspx</id>
    <published>2011-10-19T01:50:00-07:00</published>
    <updated>2011-11-27T00:55:22.92075-08:00</updated>
    <category term="Solutions" label="Solutions" scheme="dasBlog" />
    <category term="Tools" label="Tools" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I bumped into a nice solution that enables you to speed up your websites pages loading.
   </p>
        <p>
          <em>“Page Speed Service is an online service to automatically speed up loading of
      your web pages. Page Speed Service fetches content from your servers, rewrites your
      pages by applying web performance best practices and serves them to end users via
      Google's servers across the globe”.</em>
        </p>
        <p>
      I think that this is a good solution for those who doesn’t familiar with the advanced
      caching solutions or for beginner or not pro developers which want a way to increase
      performance, but if you are an experienced developer you should get your own solutions
      coding them under your application like: caching,  load balancer solutions for
      large website etc…
   </p>
        <p>
      you get get some more information <a href="http://code.google.com/speed/pss/index.html" target="_blank">here</a>.
   </p>
        <p>
          <img src="http://www.google.com/images/icons/product/pagespeed-100.png" />
        </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ce318f15-b02b-4d6b-8f31-0a91a238de11" />
      </div>
    </content>
  </entry>
  <entry>
    <title>IIS Exteniosns</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,57970a9d-b810-4d86-8efd-36b9bd25d773.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,57970a9d-b810-4d86-8efd-36b9bd25d773.aspx</id>
    <published>2011-06-16T13:12:00-07:00</published>
    <updated>2011-06-16T06:33:49.90625-07:00</updated>
    <category term="IIS" label="IIS" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      IIS is built on an open and modular architecture that allows you customize and add
      new features through free IIS Extensions.
   </p>
        <p>
      on the following link <a href="http://www.iis.net/download/All" target="_blank">here</a>,
      you can find in the iis.net official site all the IIS extensions in order to install
      it on you server or local IIS.
   </p>
        <p>
      The IIS team always adding new features to IIS to help you optimize your website for
      search, serve media to multiple platforms and devices, deploy web applications, route
      URL requests and more!
   </p>
        <p>
      Some of the current extensions are (and of course you can read about them on their
      site):
   </p>
        <ol>
          <li>
            <strong>FTP Publishing Service</strong> – content publishing utility that help you
         do it more securely and easy</li>
          <li>
            <strong>Web Deployment Tool – </strong>This tool simplifies the migration, management
         and deployment of IIS Web servers, Web applications and Web sites.</li>
          <li>
            <strong>URL Rewrite</strong> - IIS URL Rewrite 2.0 enables Web administrators to create
         powerful rules to implement URLs that are easier for users to remember and easier
         for search engines to find.</li>
          <li>
         etc…</li>
        </ol>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=57970a9d-b810-4d86-8efd-36b9bd25d773" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Handle Browser Popup Blocking</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,ec16dfe4-9572-4693-bbbc-0167e3a19ebc.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,ec16dfe4-9572-4693-bbbc-0167e3a19ebc.aspx</id>
    <published>2011-05-31T07:05:00-07:00</published>
    <updated>2011-05-31T00:08:15.3305-07:00</updated>
    <category term="Javascript" label="Javascript" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <strong>Common Problem:</strong>
        </p>
        <p>
      Popups are being blocked on browsers when the window is opened asynchronously. For
      example, needing to do some action on server before opening the window popup. 
   </p>
        <p>
      Since the window is not opened right after the user initiative, the window is being
      blocked.
   </p>
        <p>
          <strong>The Solution:</strong>
        </p>
        <ol>
          <li>
         Opening the window with empty URL and give the window a name. window.open("",
         name, WindowProperties);</li>
          <li>
         Asynchronously do the round trip to the server and request for data calculation or
         some server actions.</li>
          <li>
         When returning to client, refreshing the opened window by calling window.open again
         with the relevant URL and the same window name. window.open(url, name, WindowProperties);</li>
        </ol>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ec16dfe4-9572-4693-bbbc-0167e3a19ebc" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Parallel ForEach Loop in C# 3.5</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,ac66201d-f46b-4c42-a2b3-27398eefc4dc.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,ac66201d-f46b-4c42-a2b3-27398eefc4dc.aspx</id>
    <published>2011-05-26T08:05:00-07:00</published>
    <updated>2011-05-26T01:30:20.765625-07:00</updated>
    <category term=".NET 4" label=".NET 4" scheme="dasBlog" />
    <category term="C#" label="C#" scheme="dasBlog" />
    <category term="C# 3.5" label="C# 3.5" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      .NET Framework 4 offers great multi threads tools and new API to handle the usage
      of it. One of them is the <a href="http://msdn.microsoft.com/en-us/library/system.threading.tasks.parallel.foreach.aspx" target="_blank">Parallel.Foreach
      method</a>, which executes a foreach (For Each in Visual Basic) operation in which
      iterations may run in parallel. (You can see a good example of usage <a href="http://msdn.microsoft.com/en-us/library/dd460720.aspx" target="_blank">here
      on the MSDN website</a>).
   </p>
        <p>
      This method “makes life easy” in order to enable data parallelism over any System.Collections.IEnumerable
      or System.Collections.Generic.IEnumerable&lt;T&gt; data source.
   </p>
        <p>
      On the other side, I am still working and maintaining some projects that had been
      coded using .NET 3 (C# 3.5) and in order to perform multi-threading processes there
      is a need to use some other complex API and manage it, such as: <a href="http://msdn.microsoft.com/en-us/library/system.threading.threadpool(v=VS.90).aspx" target="_blank">ThreadPool</a> (in
      order to manage a pool of threads that can be used to post work items, process asynchronous
      I/O, wait on behalf of other threads, and process timers), <a href="http://msdn.microsoft.com/en-us/library/system.threading.waithandle(v=VS.90).aspx" target="_blank">WaitHandle</a> which
      encapsulates operating system–specific objects that wait for exclusive access to shared
      resources, etc…
   </p>
        <p>
      While reading some tech posts lately, I bumped into a great post that outline an implementation
      of this Parallel.Foreach method. You can find it in the link below and I think that
      it could make your life much more easier in order to perform and take advantage of
      multi-core processors and execute foreach loops in parallel.
   </p>
        <p>
      Get it from <a href="http://blog.robvolk.com/2009/06/parallel-foreach-loop-in-c-35.html" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=ac66201d-f46b-4c42-a2b3-27398eefc4dc" />
      </div>
    </content>
  </entry>
  <entry>
    <title>IIS Express &amp;ndash; Great addition in the VS 2010 SP 1</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,55ffd2a7-6d98-4bfe-aae8-616851a85235.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,55ffd2a7-6d98-4bfe-aae8-616851a85235.aspx</id>
    <published>2011-04-10T07:31:00-07:00</published>
    <updated>2011-04-10T00:39:53.1855-07:00</updated>
    <category term="VS 2010" label="VS 2010" scheme="dasBlog" />
    <category term="IIS" label="IIS" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Hi,
   </p>
        <p>
      Scott Guthrie revealed these days the IIS Express that comes along the VS 2010 Service
      Pack 1.
   </p>
        <p>
      I found very good things and improvements under this SP, but no doubt IIS Express
      is the best one of all the improvements list.
   </p>
        <p>
      IIS Express is coming to replace the ASP.NET Development Server that enables you a
      local (VS env) we application hosting in order to server your ASP.NET code application.
   </p>
        <p>
      The major improvements are:
   </p>
        <ul>
          <li>
         It’s lightweight and easy to install (less than 5Mb download and a quick install) 
      </li>
          <li>
         It <u>does not</u> require an administrator account to run/debug applications from
         Visual Studio 
      </li>
          <li>
         It enables a <u>full web-server feature set</u> – including SSL, URL Rewrite, and
         other IIS 7.x modules 
      </li>
          <li>
         It supports and enables the same extensibility model and web.config file settings
         that IIS 7.x support 
      </li>
          <li>
         It can be installed side-by-side with the full IIS web server as well as the ASP.NET
         Development Server (they do not conflict at all) 
      </li>
          <li>
         It works on Windows XP and higher operating systems – giving you a full IIS 7.x developer
         feature-set on all Windows OS platforms</li>
        </ul>
        <p>
      My best one is the SSL support improvement. IIS Express enables you to provide an
      SSL based application and doesn’t ask you to install the SSL certificate because it
      uses the self signed certificate that comes with the IIS Express setup.
   </p>
        <p>
      More details <a href="http://weblogs.asp.net/scottgu/archive/2011/01/03/vs-2010-sp1-beta-and-iis-developer-express.aspx" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=55ffd2a7-6d98-4bfe-aae8-616851a85235" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Using Repository and Unit of Work patterns with Entity Framework 4.0</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,0f38369a-6803-4a31-9166-b71c9ccbc238.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,0f38369a-6803-4a31-9166-b71c9ccbc238.aspx</id>
    <published>2011-04-04T11:16:00-07:00</published>
    <updated>2011-04-04T04:22:26.640625-07:00</updated>
    <category term=".NET 4" label=".NET 4" scheme="dasBlog" />
    <category term="Entity Framework 4" label="Entity Framework 4" scheme="dasBlog" />
    <category term="Design Patterns" label="Design Patterns" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Hi,
   </p>
        <p>
      I read a great post in the ADO.NET team blog in regards using the new EF 4 as a Unit
      of Work design pattern.
   </p>
        <p>
      The main idea under this solution is to maintain all data manipulations against the
      DataBase easily and transactional, by encapsulating all data manipulation on POCO
      objects under a single DataContext and a single Save method.
   </p>
        <p>
      This mechanism is usually recommended when working with asp.net MVC patterns, which
      each of the views is working with its specific controller that communicates with its
      model that implemented as a Repository pattern that exposes an interface of all methods
      signatures.
   </p>
        <p>
      You can impress the post <a href="http://blogs.msdn.com/b/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-framework-4-0.aspx" target="_blank">here</a>.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=0f38369a-6803-4a31-9166-b71c9ccbc238" />
      </div>
    </content>
  </entry>
  <entry>
    <title>ASP.NET &amp;ndash; JSON &amp;ndash; Serialization and Deserialization</title>
    <link rel="alternate" type="text/html" href="http://www.eranachum.com/PermaLink,guid,7f7734e4-20df-4054-995d-e321ad923f61.aspx" />
    <id>http://www.eranachum.com/PermaLink,guid,7f7734e4-20df-4054-995d-e321ad923f61.aspx</id>
    <published>2010-06-28T07:34:00-07:00</published>
    <updated>2010-06-28T00:38:03.0396245-07:00</updated>
    <category term="ASP.NET" label="ASP.NET" scheme="dasBlog" />
    <category term="C#" label="C#" scheme="dasBlog" />
    <category term="JSON" label="JSON" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Great post in regards asp.net &amp; Json.
   </p>
        <p>
      I wasn’t familiar with <a title="System.Web.Script.Serialization.JavaScriptSerializer" href="http://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.aspx" target="_blank">System.Web.Script.Serialization.JavaScriptSerializer</a> which
      provides serialization and deserialization functionality for AJAX-enabled applications.
   </p>
        <p>
      While searching the web in regards this issue, I bumped into a great post that outlines
      the usage of this namespace.
   </p>
        <p>
      You can check it out <a href="http://blogs.msdn.com/b/rakkimk/archive/2009/01/30/asp-net-json-serialization-and-deserialization.aspx" target="_blank">here</a>.
   </p>
        <p>
      Good Luck.
   </p>
        <img width="0" height="0" src="http://www.eranachum.com/aggbug.ashx?id=7f7734e4-20df-4054-995d-e321ad923f61" />
      </div>
    </content>
  </entry>
</feed>
