Single Page App on DIYDeveloper.iohttps://diydeveloper.io/tags/single-page-app/
Recent content in Single Page App on DIYDeveloper.ioHugo -- gohugo.ioen-usFri, 20 Jun 2014 00:00:00 +0000Get Angular Running in 5 minutes https://diydeveloper.io/tech/2014/06/20/angular-in-5-minutes/
Fri, 20 Jun 2014 00:00:00 +0000https://diydeveloper.io/tech/2014/06/20/angular-in-5-minutes/<p>Want to try some <a href="https://angularjs.org/">Angular</a> development? Need to get a dev environment set up? With a couple of automation tools, I&rsquo;ll have you up and going in 5 minutes.</p>
<p></p>Create a Single Page App in 2 Minutes using Ember App Kithttps://diydeveloper.io/tech/2014/03/04/create-a-single-page-app-in-2-minutes-using-ember-app-kit/
Tue, 04 Mar 2014 00:00:00 +0000https://diydeveloper.io/tech/2014/03/04/create-a-single-page-app-in-2-minutes-using-ember-app-kit/<p>Single Pages Apps (SPAs) are the current flavour of the month. They have seemingly appeared from nowhere, but now it seems like every developer is talking about them. Wikipedia describes this pattern as follows:</p>
<blockquote>
<p>A single-page application (SPA), also known as single-page interface (SPI), is a web application or web site that fits on a single web page with the goal of providing a more fluid user experience akin to a desktop application.
In a SPA, either all necessary code – HTML, JavaScript, and CSS – is retrieved with a single page load, or the appropriate resources are dynamically loaded and added to the page as necessary, usually in response to user actions.</p>
</blockquote>
<p>In my experience they offer some advantages over traditional apps:</p>
<ul>
<li>Very responsive</li>
<li>Rapid development time</li>
<li>Data is usually provided via a REST API - making integration to other systems easy</li>
</ul>
<p>along with some disadvantages:</p>
<ul>
<li>Usually implemented with javascript (with all baggage it brings, such as horrendous function passing syntax everywhere)</li>
<li>Can be harder to debug - you can end up in dependency hell</li>
<li>Common tasks such as continuous integration is harder than with more mature patterns such as MVC (example: making javascript unit tests play nice with TFS).</li>
</ul>
<p>The high responsiveness alone makes SPAs worth of investigating. Responsive web apps == happy users!</p>
<p>Now I&rsquo;m going to show you how to build one.
</p>