Tutorials

Scaling Ruby on Rails: Practical Advice

Ruby Thumbnail
It’s the problem everyone wants to have — the need for scalability due to an influx of users and clients compared with what you expected when you launched your application or website. LessAccounting’s Steven Bristol is familiar with the problem. As the business bookkeeping system for entrepreneurs increased in popularity, the company worked to increase its servers’ ability to process an increasing number of requests. Although Bristol believes that scaling in Ruby on Rails is similar to other frameworks, Andrew… continue…

Why Should I Care About the JVM?

Java-Thumbnail
Possibly the cleverest thing that Sun ever did was create the JVM that underpins Java. JVM is short for Java Virtual Machine and it comes as quite a surprise to many Java developers to find out that the most commonly run JVM (Oracle’s HotSpot) is actually written in C++. So what is a JVM and why is it needed? Portability for one, but also it allows Java code to be executed in a virtual environment rather than directly on the… continue…

iOS Notifications: Introduction and NSNotificationCenter

iOS notifications thumbnail
I have found that the different types of notifications in iOS and how these notifications relate to Notification Center, are a source of great confusion. Recently, I gave a talk at MobiDev Philly on the subject. This, and my next blog post, summarize the talk. This post gives an overview and goes into a bit of detail on NSNotificationCenter and Notification Center. Part Two will address UILocalNotification and Remote Notifications. Apple provides three different types of notifications in iOS: NSNotificationCenter,… continue…

Here’s How to Create Scorchingly Fast JavaScript

asm.js thumbnail
The race continues to produce the fastest JavaScript engines in browsers. With the recent release of Firefox 22, Mozilla’s jumped past Chrome. Its not-so-secret sauce is called asm.js, and is a subset of full JavaScript. When correctly optimized, JavaScript code can run at about half the speed of native machine code. Don’t believe me? Then run up Firefox and make sure it’s the latest version (22). If you haven’t got Firefox installed, go to GetFirefox.com. You don’t want to miss… continue…

C#: Xamarin Studio—Is it Worth a Look?

Posted In C++/C#, iOS, Working in Tech
Screen Shot of Xamarin Studio
When a new programming technology comes along, it’s not always the easiest to pick up: iOS development is a case in hand. Back in July 2008, Apple opened the App Store and launched the iPhone 3G. I bought one and tried to learn to program it. There weren’t many books around and Apple’s online documentation was not the greatest, nor was Xcode, Apple’s IDE for developing software for Mac OS X and iPhone. You get a bit spoiled when you’re… continue…

Developing Cloud-Based SaaS Web Applications

Cloud computing
The demand for Web development skills needed to design, build and deploy Software as a Service applications should continue to increase over the next several years as more companies seek solutions tailored to the capabilities of the cloud. According to SaaS blogger Dave Key, designing software for SaaS is fundamentally different from designing software for the more traditional client/server model in terms of architecture, user interface design and the exposure and use of APIs. Key points to consider: Design for… continue…

Drilling Into JBoss AS’s Successor – WildFly 8

WildFly Logo
Say hello to WildFly 8, the successor to the JBoss application server and a new JBoss community project. Well, it will be when it becomes available, as currently it’s at Alpha. While change for change’s sake isn’t always a good thing, the reason given for creating WildFly 8 is simple: JBoss the name is overloaded. It refers not only to to the application server, but also the JBoss Community and line of products by Red Hat. To a newcomer to… continue…

A Cloud Storage Latency Fix With Minimal Code Change

cloud with sun's rays
In my first article on cloud storage latency, I gave a brief review of cloud storage, specifically how Amazon S3 stores and references objects. Now we’ll pick up where we left off to begin illustrating one of many possible solutions that can help solve the latency that haunts cloud storage, specifically in the mobile space. Cloud storage providers that are worth their salt all have at least two regions in the U.S. to choose from to store your objects. For… continue…

StageXL Moves You Easily From ActionScript 3 to HTML5

Dartflash Game
So you’re an ActionScript 3 developer creating Flash games, but you can see the writing on the wall. Taking a long view, is it time to move to HTML5? If so, what’s the best approach? Here’s a way you may not have heard of, and it’s open source. Although ActionScript and JavaScript are sort of distant cousins, there is an alternative to having to learn JavaScript: You can learn to program in Dart. Once you’ve done that, you’ll be able… continue…

Understanding Variable Types in Dart

Dart Language
In my first tutorial about working with Dart, we looked at how to use its editor, definitely the best way to learn your way around. Now, we’ll get ready to do some real work. First, A Tip In Tools, Preferences you’ll find an Update tab. This lets you specify whether you want to manually run the Editor, or have it updated automatically. Once you download the editor, go to Help, About and click Apply, Update. The editor’s updated about once… continue…