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.

Trying to get a better understanding of the current project set up and want to know if there is an easier set up.

The project is set up a 2 different components, one project contains the client side code and the other project contains the java code.

The client code is html, js, css etc which needs to be deployed to an apache web server on local dev machine and the java code is run from eclipse indigo launching tomcat 7.

My question is that each time I make a change to the client side code, i must go through the build process to get minified code and then deploy to htdocs dir on my apache web server.

What i don't understand is why does this need to happen, and if there is an easier way that i can develop both components without deploying the client side code. The lead developer is on vacation to get my questions answered.

Also, what editor is good for using on client side code that uses a lot of jquery, handlebars etc. would prefer a wyswig editor.

share|improve this question

closed as too localized by Glenn Nelson, MichaelT, Bart van Ingen Schenau, MadKeithV, ElYusubov May 13 at 16:05

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

My question is that each time I make a change to the client side code, i must go through the build process to get minified code and then deploy to htdocs dir on my apache web server.

Based on the way you worded it, I am not sure if you are questioning the need for minification , the need for putting files into Apache or the need for a build process at all.

A formal build process is a part of any software engineering environment. Maybe it seems like a waste if all it does is minify, but what if you add unit tests or jshint validations? Using a build tool is a powerful way to integrate all of this into a simple "click here to build" type process. It also helps with quality because it ensures that everything is repeatable.

What i don't understand is why does this need to happen, and if there is an easier way that i can develop both components without deploying the client side code. The lead developer is on vacation to get my questions answered.

I recommend speaking with your lead developer. Whatever desire you have to simplify your environment and processes can wait a week until he or she returns.

What is the problem with building and deploying? Building should consist of minifying and possibly testing. Deploying is probably file copies. Do you not have it scripted? Use a build tool like ant with a script that handles all of this for you so it just works. I have had terrible experience with using Eclipse to build my software and have it manage Tomcat. Others swear by it.

You should just talk with your lead and then come up with a solution that works for the both of you (assuming the team is just the two of you).

Also, what editor is good for using on client side code that uses a lot of jquery, handlebars etc. would prefer a wyswig editor.

I recommend Notepad++ for Windows and TextMate on Mac OS X. A WYSIWYG editor will probably be ineffective for what you are doing. How can you apply WYSIWYG to jQuery?

share|improve this answer

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