Most people who develop for Google App Engine for Java use Google's Eclipse plugin. It makes it trivial to create a new App Engine project and dist it to the live servers.
The plugin is fine, but Eclipse is a whole different subject. I've been using IntelliJ IDEA since January and have definitely been spoiled by it. After IDEA, going back to Eclipse feels like taking a step backwards about 5 years. Plus, the JSP editor would crash on me after 10 or 15 edits, and the only way to fix it would be to close the file and reopen it. Seriously I couldn't fix that after many attempts at customizing my settings, it was just horrendous.
Then a few weeks ago I found out that IntelliJ had released a plugin just for Google App Engine development. I converted my project today and could not be happier. Changes to web pages (JSP, tag files, Javascript, CSS) require about a 5 second build before they are ready in the browser again. The only downside is that the overall app startup seems a lot slower (about 30-60 seconds on my ancient XP laptop), which is sad because you'll need to do that any time you change your Java classes.
I haven't tried using their release tool yet but even if I have to release by hand, it will be worth it to be using IDEA again.
Sunday, July 26, 2009
Thursday, May 7, 2009
First post!
I've had this site for 10 years, and it's fun to look back on how it changed.
At first it started out as an HTML page with almost nothing on it. I was learning Java and wanted a place to host an applet I was working on. One or two hand-coded pages, that was about it.
Later, I started using a command-line preprocessor which let me create macros for repetitive HTML. Whenever I wanted to make a global change to the site, like changing the way headers were displayed, I had to reprocess every file. Still it was way better than doing it by hand. Finally I could apply some automated programming techniques to the site! It allowed me to expand the size of the site, adding photo galleries and other stuff.
Eventually I switched to JSP, and converted my macros into pure Java. No more commandline batch processing! This felt really natural, just like programming. Over time, it became too much like programming, too tedious - but still a huge leap from before.
I stuck with that for way too long. The technical hassle of getting stuff up on the site was just large enough to make me not want to do it. I'd post new photos a few times a year, but it felt kinda like a chore.
As time passed, the web grew up. CSS allowed you to control the visual style of a site without having to restructure the HTML. I got rid of the Java functions and it felt like I was editing content again instead of programming. I'd learned a lot about Javascript and rewrote the photo gallery so you could view photos without leaving the page.
Still, it was a pain to upload new content, and I went a whole year without posting anything new.
That's all changing now. I'm rewriting everything from scratch, and am making it much easier to post content.
This blog is a big part of that. Now, I can post new comments without having to hardcode the text into my site and republish it. I can even post from my phone. And it doesn't even matter that nobody reads it - all the fun comes from building it.
At first it started out as an HTML page with almost nothing on it. I was learning Java and wanted a place to host an applet I was working on. One or two hand-coded pages, that was about it.
Later, I started using a command-line preprocessor which let me create macros for repetitive HTML. Whenever I wanted to make a global change to the site, like changing the way headers were displayed, I had to reprocess every file. Still it was way better than doing it by hand. Finally I could apply some automated programming techniques to the site! It allowed me to expand the size of the site, adding photo galleries and other stuff.
Eventually I switched to JSP, and converted my macros into pure Java. No more commandline batch processing! This felt really natural, just like programming. Over time, it became too much like programming, too tedious - but still a huge leap from before.
I stuck with that for way too long. The technical hassle of getting stuff up on the site was just large enough to make me not want to do it. I'd post new photos a few times a year, but it felt kinda like a chore.
As time passed, the web grew up. CSS allowed you to control the visual style of a site without having to restructure the HTML. I got rid of the Java functions and it felt like I was editing content again instead of programming. I'd learned a lot about Javascript and rewrote the photo gallery so you could view photos without leaving the page.
Still, it was a pain to upload new content, and I went a whole year without posting anything new.
That's all changing now. I'm rewriting everything from scratch, and am making it much easier to post content.
This blog is a big part of that. Now, I can post new comments without having to hardcode the text into my site and republish it. I can even post from my phone. And it doesn't even matter that nobody reads it - all the fun comes from building it.
Subscribe to:
Posts (Atom)
