This guide will show you how to deploy a Grails application to Heroku and bind it to the Postgres database service.
A collection of articles and resources of interest to the modern software developer
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Friday, December 30, 2011
Getting Started with Grails web apps on Heroku/Cedar | Heroku | Dev Center
Heroku | Dev Center | Getting Started with Grails web apps on Heroku/Cedar
Thursday, December 22, 2011
Web Testing with MbUnit and WatiN Part 2: Controlling Localhost and IIS Express
Web Testing with MbUnit and WatiN Part 2: Controlling Localhost and IIS Express
One important aspect of web testing which is not so often discussed in blogs or articles is how to run tests against a web project running in debug mode on the local host. Microsoft provides two options to let you debug web projects locally: the Visual Studio development server and IIS Express. In this second part of our series on writing web integration tests, we’re going to demonstrate how to use the WebTestServer<T> class to start either server from within a running test suite.
In this article, you will
- Create a simple one page website project for testing
- Create a web test project that tests it against the VS Development Server
- Alter the website and test project to test the page using IIS Express.
Wednesday, December 21, 2011
Web Testing with MbUnit and WatiN Part 1: Keeping Your Tests Legible | developerFusion
Web Testing with MbUnit and WatiN Part 1: Keeping Your Tests Legible
We’re all quite comfortable writing unit tests to verify that a piece of code does what we think it should do, and there are many test frameworks to enable this activity. One solid solution for going one step further and writing powerful integration tests for .NET web applications is to combine WatiN, an informal .NET port of the WatiR open-source (BSD) family of Ruby libraries for automating web browsers, with the Gallio automation framework and MbUnit test library.
Deploy Grails Applications on Heroku
Deploy Grails Applications on Heroku
We're happy to announce the public beta of Grails application deployment on Heroku with support for Grails 1.3.7 and 2.0 provided by the open source Heroku Grails buildpack.
Wednesday, December 14, 2011
CAUSTIC for Android: Caustic 2.0 is coming...
CAUSTIC for Android: Caustic 2.0 is coming...
Exciting news for Caustic owners and Android music makers. I've got a few week's work left polishing up version 2.0 of Caustic and it's HUGE. It would probably be shorter to list what's NOT new rather than the new features so for now I'll give you the major items with some screenshots. A more complete feature list, as well as a user's manual, will accompany the official release.
Tuesday, December 13, 2011
What Every Computer Scientist Should Know About Floating-Point Arithmetic | DZone
What Every Computer Scientist Should Know About Floating-Point Arithmetic
Floating-point arithmetic is considered an esoteric subject by many people. This is rather surprising because floating-point is ubiquitous in computer systems. Almost every language has a floating-point datatype; computers from PCs to supercomputers have floating-point accelerators; most compilers will be called upon to compile floating-point algorithms from time to time; and virtually every operating system must respond to floating-point exceptions such as overflow. This paper (from 1991) presents a tutorial on those aspects of floating-point that have a direct impact on designers of computer systems. It begins with background on floating-point representation and rounding error, continues with a discussion of the IEEE floating-point standard, and concludes with numerous examples of how computer builders can better support floating-point.
Free Tools to Test your Website on Mobile Devices | Designzzz
Free Tools to Test your Website on Mobile Devices
A list free tools for web developers to test and check their websites on mobile phones and other devices, such as iPad. Emulators and simulators, analysis tools and Firefox extensions. They will work as Adobe Device Central alternatives.
Forbes is wrong about “Developernomics” | Knowing .NET
Forbes is wrong about “Developernomics”
Professional talent does vary, but there is not a shred of evidence that the best professional developers are an order of magnitude more productive than median developers at any timescale, much less on a meaningful timescale such as that of a product release cycle. There is abundant evidence that this is not the case: the most obvious being that there are no companies, at any scale, that demonstrate order-of-magnitude better-than-median productivity in delivering software products. There are companies that deliver updates at a higher cadence and of a higher quality than their competitors, but not 10x median. The competitive benefits of such productivity would be overwhelming in any industry where software was important (i.e., any industry); there is virtually no chance that such an astonishing achievement would go unremarked and unexamined.
Monday, December 12, 2011
One Click PhoneGap Build to Android Device Script | DZone
One Click PhoneGap Build to Android Device Script
I've been fooling around with PhoneGap Build, and I really love it. I love that I don't need to fire up Eclipse or XCode to start fooling around with an app. All I need is a text editor and a browser. What I especially love is the ability to integrate a github repository to the whole process. It makes following proper development practice, while living in the cloud, very easy.
But I've been spoiled for the last year or so. Being able to immediately preview on a connected device has ruined me for the command line, multi-step, manual crap. So at least on Android I've fixed it for myself by building a nice shell script that takes advantage of PhoneGap Build's Web APIs to create a one-step build.
Labels:
Android,
Cloud,
Development,
Mobile,
PhoneGap
Why Android's UI Is Laggy Compared to iOS and Windows Phone | Daring Fireball
Daring Fireball Linked List: Why Android's UI Is Laggy Compared to iOS and Windows Phone
Interesting technical look at the design of Android’s graphics and event processing by Andrew Munn, trying to explain why it feels so laggy compared to iOS and Windows Phone:
Android UI will never be completely smooth because of the design constraints I discussed at the beginning:
[…] This is the same reason why Windows Mobile 6.5, Blackberry OS, and Symbian have terrible touch screen performance. Like Android, they were not designed to prioritize UI rendering. Since the iPhone’s release, RIM, Microsoft, and Nokia have abandoned their mobile OS’s and started from scratch. Android is the only mobile OS left that existed pre-iPhone.
- UI rendering occurs on the main thread of an app
- UI rendering has normal priority
Reading and Writing INI Files in C# | DZone
Reading and Writing INI Files (C#)
Initialization files known as INI files provide a standard means for storing configuration information for software in a text file. Although rarely used by .NET applications, there are situations where these files must be read and written to using C#.
Android Dashboard Design Tutorial | Ravi Tamada
Android Dashboard Design Tutorial
Tutorial about creating android dashboard screen design. An example of facebook dashboard screen is explained. Also added some functionality like launching new activity on selecting icon on dashboard.
jQuery Mobile and Semantics | DZone
jQuery Mobile and Semantics
HTML5 added all of the cool new semantic elements like header, footer, and article, which help you describe your content better. It would be cool if you could use them with jQuery mobile. The data-role attribute still makes sense because as elements there can be more than one of them on a page--for example, a page header and an article header.
Tutorial: Play Framework, JPA, JSON, jQuery, & Heroku | James Ward
Tutorial: Play Framework, JPA, JSON, jQuery, & Heroku
If you are a Java developer then you really need to give Play Framework a try. It is really refreshing to take a few minutes, step out of the legacy-feeling world of traditional Java web app development and into something modern and fun. I want to walk you through a very simple tutorial where we will build a web application with Play Framework. The application will use JPA for persistence and expose access to the data through a JSON over HTTP interface. The client-side of the application will be built with jQuery. Lets get started.
Recent Software Development Posts of Interest - Early December 2011 | Dustin's Software Development Cogitations and Speculations
Recent Software Development Posts of Interest - Early December 2011
I have run into several software development blog posts over recent weeks that I think are worth reading or keeping links to for future reference. I collect some of these in this post.
Tuesday, December 6, 2011
Heroku Plugin for Grails | An Army of Solipsists
An Army of Solipsists » Blog Archive » This Week in Grails (2011-43)
We were able to announce and demo the new Herokuplugin that we’ve been developing in collaboration with the folks at Heroku. Tomás Lin and Graeme were able to get Grails apps deployed when Heroku first announced support for Java but the process wasn’t very simple and involved Maven. The new plugin works a lot like the Cloud Foundry
plugin in that it automatically reconfigures your DataSource, Redis, MongoDB, RabbitMQ, and even Memcached connection settings to use configured Heroku services, all with almost zero configuration in your application. We should have a proper release within the next couple of weeks – there are a just few more issues to iron out first.
hello-heroku - Grails Deployment on Heroku | GitHub
grails-samples/hello-heroku - GitHub
Example Grails 2.0.0.BUILD-SNAPSHOT application deployable to Heroku's new Java support.
Deploying a Grails app on EC2 from scratch | delahuntyware
delahuntyware: Deploying a Grails app on EC2 from scratch
Ok so i have found some time write up how to deploy a Grails app onto EC2. This is a step by step guide to setting up Apache, Tomcat, Mysql, Java on an ubuntu Ec2 Box.
For those who do not know. EC2 is Amazon's (that's right the one famous for books) hosting service of its webservice suite. It allows you to run virtual server images on it amazingly scaleable infrastructure. Plus you only pay for what you use. If your server is up for 4 hours you pay for 4 hours. $0.10 per hour (about). You can build your own server as i will show you in the steps below and manange it on their infrastructure.
These are the steps i have taken and they work for me. I am sure there are hundreds of ways to skin a cat (so the cat skinners say) but this is my way. Take it or leave it :)
Subscribe to:
Posts (Atom)