Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

The Disco Blog

Testing Rails migrations

I recently found myself searching Stackoverflow and Google for various techniques for automatically testing Rails migrations. I was surprised not to have found too much information though. While testing a migration is fairly straightforward (migrations are classes and you can easily invoke corresponding methods); the challenge can be setting models up properly.

Read more ...

 

Circumventing mobile UX expectations

Recently, a buddy of mine pointed me to an interesting tweet:

New tool converts your Apple #iOS apps to #HTML5 http://dld.bz/cejxz #appdev

Read more ...

 

Savvy Mongo query selector: exists

MongoDB supports a rich query language; in fact, its support of dynamic queries is one of its more distinguishing features compared to other datastores in the NoSQL world.

Read more ...

 

Scalable searching with ElasticSearch

Search is no longer an optional feature: it’s expected of most any application that consumes, produces, or stores data. And not everyone wants to be a search technology specialist, especially given the range of sophisticated algorithms underlying today’s complex searches (i.e. SQL queries are no longer sufficient!). Knowing about existing, open source search platforms could save you a lot of time and money and allow you to spend your time fine-tuning your software’s main functionality.

Read more ...

 

Pushing Mongo GridFS files with Sinatra

We recently implemented a new feature that required two interesting aspects: storing a file in MongoDB using GridFS (think traditional Blob) and then pushing that file down to a browser.

Read more ...

 

Running individual tests in Rails

Every now and again, I find myself struggling to remember how to execute a single test in Rails. While I have Guard running the entire test suite anytime a change is detected, there are times when I want to focus solely on one test. Accordingly, Flavio Castelli has a great blog entry detailing the manifold ways one can execute a single test using Rake and/or Ruby.

 

The cloud files are out!

The good folks over at IBM developerWorks have recently published season 5 of the Java technical podcast series. This season
focuses on the technologies, companies, and people influencing cloud computing.

Read more ...

 

Sinatra, CoffeeScript, and Haml: swinging in 4 steps

I recently decided to ditch plain old JavaScript in a Sinatra based application in favor of CoffeeScript. The existing JavaScript wasn’t terribly complex; however, I was looking at having to add some AJAX based long polling and I couldn’t bring myself to do it in JavaScript.

Read more ...

 

Comprehending the mobile development landscape

There’s no shortage of mobile growth statistics, but here’s a few specific ones paint an overall picture of mobility:

Read more ...

 

The essence of mobile app performance

Are you pumped that you just published an app? Yep, me too. But guess what? Once you’ve built, tested, and deployed a mobile app, you’ll find yourself concerned with two factors:

Read more ...