![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
You've all heard the one about the farm worker who was once asked for directions... he replied, "Well if I was you, I would'nt start from here". If you weren't by now committed to a particular path for web development and deployment and could start with a clean slate... and wanted to cater for *any* web-server and *any* browser... would you go for xForms? or RAILS? or AJAX? or... what? Mike. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
So it all comes down to HTML & Javascript still? |
#5
| |||
| |||
|
|
So it all comes down to HTML & Javascript still? |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi Mike, When you say "web development" do you mean front end development for an existing pick database? LAMP will not help you here - the M stands for MySQL. (I guess you could call it LAPP.) |
|
Has anyone done any MV integration with rails? I've not used it but from what I understand it uses SQL to build the persistence layer. (Shoot me down if I'm wrong.) |
#8
| |||
| |||
|
|
So it all comes down to HTML & Javascript still? |
#9
| |||||
| |||||
|
|
michael (AT) preece (DOT) net wrote: So it all comes down to HTML & Javascript still? You sort of stacked the deck when you asked people what they'd use that was supported on *any* web server and *any* web browser. That narrows down the options considerably. I hate to say it but most of |
|
the technologies we're working with these days are just regurgitations of the same ol' stuff - yes, HTML and JavaScript. If you want to appeal to the least common denominator then you have to go back to the oldest and most basic languages/technologies. |
|
Looking at the web development market at large, I've sort of thrown my hands up within the last year or two. There are almost more people writing new standards now than there are people using the old ones. I haven't adopted .NET as a preferred technology necessarily because I think it's superior to anything else - I'm just tired of chasing Perl and PHP and now Ruby; Rails and AJAX; IIS, Apache and Tomcat; Mozilla, Opera, and Firefox, and Jabber and whatever else seems to be hot this week. I love sinking my teeth into technology but enough is enough |
|
and it's time to get some work done. So I'm not chasing the open source project/protocol of the week, but I _am_ settling down with something that is well documented and well supported. |
|
(The following doesn't apply to people like Dawn or Mike, but more to others who are trying to follow these discussions and aren't quite sure of which way the wind is blowing.) It's funny that in this MV market of ours, almost by definition a group that resists change, that we have so many people chasing so many different technologies - and it seems people never seem to find one that they like. This is where I say just pick one, right or wrong, and run with it. You can do whatever you need with pretty much anything that's out there - if you're really good at using it. Let's stop chasing technology and actually use it for a change. T (Just ignore this man, he needs a long vacation...) |
#10
| |||
| |||
|
|
michael (AT) preece (DOT) net wrote: So it all comes down to HTML & Javascript still? 'fraid so. Once I understood why that was, I decided to stop resisting. Here's my take on it. The JSP, ASP, PHP, etc Approach I looked at LAMP (linux-apache-mysql-php), ruby on rails, java/jsp/struts, and java server faces in my first round. I did hands-on with all but ruby, doing the basics in each to feel like I "got it" without actually learning more php than required, for example. Each of these used the same philosophy of not only hosting any source/byte/object code on the server, but the run-time environment for each of them too. The user visits a site and a request goes to the server which then interprets the php (or whatever) and pushes html to the client. The client then gets/posts data based on a client-side event (e.g. user clicks submit button) and all logic to validate and process this event is handled again, running on the server, with the php code, pushing back another html document. These must always be complete documents. This seems like a great environment for the developer -- everything is coded and run on the web server, pushing stuff to the browser and making requests of the database. PHP etc with AJAX Since each of these is now adding AJAX support, they are adding what is required to run something on the server (e.g. php) that then pushes javascript, along with xhtml to the client, which then executes the javascript on the client doing the asynch call to the server (e.g. php) to then pull the response back in. This is almost the worst of all worlds from my perspective and I would only entertain it if I had a huge asset of such code already. The casserole of php, javascript, xhtml, and css often jumbled together in a single page doesn't taste right to me at all. (Not to mention that they often also include SQL calls). Browser *User Exits* I don't know how widely people know the term "user exits" but everyone knows the concept -- an application (web browser in this case) is going to run and developers have various points, such as before loading a page, where they can put their own code that will blend with the application. That is where JavaScript comes in. You can write user exits for various user events, such as mouseover or clicking anywhere. Once you see that javascript is the language of the web browser and we are not getting anything else anytime soon (nothing on the horizon even when I put on my high power binoculars) you can see that resistance to javascript is futile. Why No Other Language? It might be easy enough for a single vendor to supply another language in the future for user exits, but I don't see much chance of another standard soon that the browser vendors sort-of attempt to follow. The JavaScript standard is handled by ECMA and officially called ECMAScript. Microsoft, Mozilla, Safari, Opera all care what is in that standard. Some IDEs will generate JavaScript from other specifications so that not every developer will feel a need to learn the language, but then you have to debug it anyway, so I'm biting the bullet and am going to learn it instead. What you can do with JavaScript that you cannot do otherwise -- lots! See http://www.brainjar.com/dhtml/windows/demo.html I have a ton of other URLS, but this one helps explain why AJAX would gain in popularity due to its use of JavaScript along with the asynch server calls. AJAX approach With AJAX, the user requests a page which then goes to the server just like the old days before asp/php/jsp. The html includes scripts and stylesheet information or, better yet, links to script files and stylesheet files. The html indicates where there is additional javascript code to go with any event. At those points in the user interaction, the javascript executes and ships asynch requests to the server as needed. The server returns xml, such as fragments of html, that the javascript listens for without holding up the user and incorporates the responses back into the page. An example of how the asynchronous server communication works for the user, try not to get addicted like I am to http://weboggle.shackworks.com Instead of calling these BUIs, I often see them called RIAs -- Rich Internet Applications where a single web page is turned into a full software application. Sorry for the length, but hope this helps. --dawn |
![]() |
| Thread Tools | |
| Display Modes | |
| |