Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm given a ninja assignment of developing a simple but working web application, the dead line is extremely tight. Maybe within ten days.

I'm a Java programmer but I don't think Java is going to give the luxury of rapid development. Spring Roo could be an option but my Spring knowledge is somehow rusty and I didn't even touch Spring 3.

So I'm thinking about JRuby on Rails route. What do you think of it?
Should I expect any problems if we are going to deploy it on Tomcat or Oracle WebLogic?

Do you suggest any other option? I worked with Grails but that was last year.
I'm not sure if I have to give Play! framework a shot.

If you were me, what you are going to do? this is the first time I'm asked to prototype quickly and big things are on the line.

share|improve this question
4  
If you have a tight deadline I suggest using what you know, it might take longer with Java as you stated, but it might also take you much longer in x framework/language that you aren't familiar with. – Nick Jul 7 '11 at 6:07

8 Answers

up vote 0 down vote accepted

If the plan is to demonstrate bare minimum functionality then nothing is faster than a CGI script for prototyping a web application. There are no frameworks to learn and you can use your favorite scripting language with SQLite bindings or even flat files for persistence.

share|improve this answer
So you mean after the demo (coded as you suggested) is approved, then I can pick the framework/stack I want? – Chiron Jul 7 '11 at 1:03
Right. Most frameworks I know require substantial investment and even if you do learn the framework in time to implement a prototype chances are most of that code will be thrown away once real development starts. – davidk01 Jul 7 '11 at 1:31
1  
.net MVC requires no investment and I believe is faster to devlop than CGI. – configurator Jul 7 '11 at 2:36
.NET platform isn't an option in my case. – Chiron Jul 7 '11 at 3:29

Don't use Ruby on Rails... you're going to spend 5 days struggling with figuring out the framework, and 1-2 more trying to get things smooth with JRuby. Find the simplest way to get it done, and just do it. Even if its just faking it with HTML5/javascript and localstorage.

But if I were you, and had to ask this question.. i'd probably just pay someone =P

share|improve this answer
+1 for faking it with HTML5/JavaScript and local storage. – Domenic Jul 7 '11 at 5:31

For such a tight deadline, I would discourage attempting to learn a new language and a new framework. The Play framework is pretty easy to get into; you should give it a shot.

share|improve this answer
The issue with Play! framework (which could be good or bad) is that it leaves the JEE stack. I'm not sure how to feel about Play! – Chiron Jul 7 '11 at 2:03

Use Ruby on Rails. I was productive with Rails after a few hours with Agile Web Development with Rails. Get AWDwR and the pickaxe book Programming with Ruby shipped overnight, and have fun. The only problem is that you won't want to write Java anymore.

share|improve this answer

Have a look at the Grails/Groovy combination.

Grails is a complete web application framework written in Groovy.

Groovy is a dynamic language which runs on the JVM, more importantly form your point of view all Java code is valid Groovy code, and, all Java classes are accessible from Groovy.

So its a very effective RAD environment, and, you can leverage your Java skills.

share|improve this answer

I don't know about JRuby, but if you are working with Rails allow a day or two for just learning the platform- it's worth taking the time out just to read Active Web Development With Rails because you will do everything else faster for having read it. Also if you're thinking you might do something with it soon, take some time out now to learn the basics of Ruby and how to get JRuby up and running properly.

When it comes to rapid development and prototyping I would certainly use Rails myself, it's a very useful platform.

share|improve this answer
So I'm right not taking the Java web development route? – Chiron Jul 6 '11 at 23:52
Having not done Java web dev for a few years I can't really say a lot about it, but in spite of plenty of ASP.Net experience, which is broadly similar so far as I know, I would certainly choose Rails first for prototyping. I might not use it for production, however. – glenatron Jul 7 '11 at 13:49

You can try Grails its really nice framework (build on Spring/Hibernate stack and it uses JVM) which can help you with your prototyping task

share|improve this answer
Performance and trusted security are requirements, not features in my case. Is Grails going to serve me well? – Chiron Jul 7 '11 at 12:26

If it's really a prototype and not going to evolve into production code, you can throw a prototyping tool like Balsamiq (http://balsamiq.com/) into the mix. It doesn't build the solution system but allows review of design and limited functionality via mockups, which can often flaws in the design before they live in your code.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.