Posts Tagged “ajax”

I’m working on a project with my brother. The idea is to be able to visualize results from microarray experiments he has done in the lab. I’m taking an image of brain regions and loading the microarray data. The expression levels for the various regions and genes can then be seen as you a)mouse over a region and b) select a gene. There are also sliders that allow one to refine the results (and there are a lot of them).

To develop the application, I’m using Flash. I tried Flex, the web application version of Flash, but the main need I had was designing a rich GUI (a labeled brain).

In Flex, you can create applications much like Flash, with the absence of heavy-duty focus on timelines, stages, etc. The main advantage seems to be an extensive and speedy library of rich components, with extension mechanisms. Flex can also talk to other tiers, middleware, database, etc. via Flex Data Services (all this is freeware, btw, unless you have a heavy need for data services, where it gets pricey).

However, Flex seems in many ways to duplicate the functionality of HTML forms. I don’t see the point of a set of UI components that are comboboxes, lists, and text-entry fields, since these are also present in HTML. What is useful is the ability to draw and diagram a non-standard component like my brain chart.  I’m still awaiting an application that can provide the rich graphical editing tools of Flash with the lack of timelines and scenes that Flex provides. There is a way to integrate a Flash component in Flex, but this seemed cumbersome.

For data access, I used Rails to serve up XML over the wire. It isn’t really REST style, but simpler than other approaches. I didn’t need to use Rails to do this — probably a direct SQL call would have been simple enough — but I wanted to try it out.

Why not AJAX? In some sense this is a false comparison. AJAX is a methodology, which Flex partly adheres to — asynchronous and XML, just not via Javascript. The main difference seems to be that one doesn’t need to muck around in Javascript and CSS/DHTML for the UI. Frankly CSS and HTML scare me with their complexities.  The resulting Flash movie is accessible to most browsers out there (although the broken context menu is annoying).

What is a RIA anyway? Many of these concepts seem to be drawn directly from good ole Applets, which to my mind are very much like Flash movies from an end-user POV (clearly less nimble, but still…). I suspect that for most applications, the simple suite of UI components that HTML defines are probably sufficient. It will only be for graphical charts and displays that Flash-like tools will be necessary.

Tags: , , , , ,

Comments No Comments »

I’m a bit of a procrastinator, so occasionally, like Arnold J. Rimmer, I feel guilty and disorganized and madly attempt to correct the situation. One way I do this, other than neatly coloured monthly schedules, is using a task list. My main use of a task list is for long-term planning, e.g. upcoming tasks, things I’d like to accomplish, blue-sky ideas. Typically I do that once, and then forget about it until the next crisis of organization. In a Ph.D. program, goals are often vague and completely self-determined. This task list is a handy way of keeping a central record of what I should be accomplishing.

As an aside, another record-keeping device I often wonder about is note-taking. Like task lists, I have a habit of making notes in meetings, when reading papers, on the subway, etc. Also like task lists, I almost never refer back to these notes. There was a student at my high school who would never take notes in class, but always did well (okay, Bs) on tests. My guess is that the idea you have tends to percolate in your brain. If it’s good, and pressing, then it comes to the fore of its own accord. I maintain a personal Wiki with a number of private research notes, but I rarely look over these ideas. I once considered writing some code to parse such a collection of notes, and periodically email them to myself as a reminder service.

Anyway, back to the task list. I do find them useful, and the best application I’ve used — other than pencil and paper — is rememberthemilk.com. It’s an AJAX web application that is incredibly user friendly — even better than Google’s UIs, IMO. Today I discovered they’ve added location-based tasks with a Google Maps layer. I’m not sure I’ll use this feature all that often — most of my tasks are very research-specific, so they take place in my brain(!). What I’m more impressed with is the programming and UI design they used (I believe it’s two people in Australia). For example, the map defaulted to Toronto for me. They either figured this from my time-zone, or from my IP. Furthermore, in another boost for standards, my tasks can be integrated into Google Calendar using the Webcal standard. I can see due dates etc. on my calendar. Very slick.

A question for them, though: What is their business model? Hosting fees can’t be that cheap (even if they mainly serve text). My brother is in Sydney now and internet access there seems very expensive. There are no ads, so they must be hoping to be bought out by someone.

Anyway, the service is great, fills my needs. And helps me keep track of my personal tasks, when I remember to check.

Tags: , , ,

Comments No Comments »