Friday, October 4, 2002 | |
Friendly URLs I think most people would agree that URLs are an important part of a web UI. If designed correctly they can be as intutitive and helpful as a label and button on the page. One of the decisions I find myself occasionally faced with when developing a web application is whether you should always go through code to access templates, or mix it up by accessing templates or html directly when going through code doesn't really add value. For example, I may map code to urls with the extension *.action and templates to the extension *.vt. Thinking about friendly predictable URLs I would have to lean towards always going through code. That way a user doesn't have to second guess to use .action or .vt. 3:09:14 PM |
Scripting Java web apps A lot of code in a web application is devoted to glueing the presentation and business logic/data tiers together. Most of this code is dedicated to the same things: validating input, updating the database, deciding where to send the user.
One of the draws backs to using a compiled language such as Java in this scenario is the pain of code, compile, start web server, test, loop.... Seems to me that a scripting language ( jython) would be perfect as the glue between the html and backend components. No only does the scripting language speed the development cycle but usually the scripting language is simple enough for junior programmers to use and become productive with. Now I realize that using a scripting language in this area is not a new idea ( tcl and the AOLServer, Perl... ). But it certainly is still very uncommon in the Java web app world and IMO much needed. More Interesting reading on the topic9:23:20 AM |
Scalability, Three-Tiered Architectures, and Application Servers This has been part of my recent reading (12 step program ) I've been doing as I make a return to focusing on the simple, basic, and sound ways of building apps. It's all to easy to get wrapped up in technology marketing hype and API overload at the point where you've forgot how well the simple stuff works. Although this paper is a couple years old, it still has some valid points: Focus on sound enginerring principles! Just say no to EJBs! ( at least for the majority of apps anyway)9:01:27 AM |
from the Register Gosling: Microsoft's Java threat is financial, not technical 8:47:43 AM |