conwaypm
03-17-2009, 01:58 AM
Hello all. I've currently got a project due in (in about 6 weeks) whereby I have to create an online shop that utilises AJAX in a big way (Ie, should feel like a desktop application). The nature of the project is to explore the 'limits' of AJAX.
I've had this assignment for some time and have been extremely indecisive about the best (and quickest!) way to go about it. Currently I have;
SQL database on the back-end
Java servlets which handle requests/responses
Data transferred to and from client in JSON
Dojo javascript library used on the client for constructing UI etc..
As I have developed the project, I can't help but think that my lack of experience with web-programming in general is slowing me down considerably. So I'm turning towards some knowledgable people in the hope they can point me in the right direction.
I have been rethinking almost every aspect of my current design;
The database only has about 100 records that I have input manually. It needs to require thousands and it has been recommended I use Amazon Web Services. Do I cut out the products from my own SQL database and use this webservice instead? I can see no other way of populating my SQL database with that amount of data (and I'm not particularly experienced with SQL).
JSON seemed like a nice, simple method for transporting data but if I introduce AWS into my project, does it make more sense to use XML as my choice of data-representation? I can see nothing inherently wrong with JSON at the moment but with my limited experience, I'm not sure if choosing XML would just be a cleaner, less-hassle approach when I get further into development?
Are Java servlets appropriate? Again, I can see no major reason why not other than I am not _that_ familiar with the alternatives available and so I feel quite comfortable using these.
These are just a few of the points I am confused on. Really I'm just looking for people who have developed a similar web-app (or are in the process) and would like to hear their advice on what worked/didn't work for them. The site is one-person programming task so does not have to be absolutely massive/complex however it must implement standard AJAXian features in a seamless manner, and so requires some planning on how to achieve this efficiently.
If anyone can point me to some good articles/guides/examples then I would also be very appreciative. I've read a great deal about AJAX but unfortunately I have yet to convert that into concrete ideas I can go ahead with and just implement.
I'll be happy to answer questions and get more specific with certain things if anyone wants but at the moment I'd appreciate any responses that can get the wheels turning on this. Thanks :thumbsup:
I've had this assignment for some time and have been extremely indecisive about the best (and quickest!) way to go about it. Currently I have;
SQL database on the back-end
Java servlets which handle requests/responses
Data transferred to and from client in JSON
Dojo javascript library used on the client for constructing UI etc..
As I have developed the project, I can't help but think that my lack of experience with web-programming in general is slowing me down considerably. So I'm turning towards some knowledgable people in the hope they can point me in the right direction.
I have been rethinking almost every aspect of my current design;
The database only has about 100 records that I have input manually. It needs to require thousands and it has been recommended I use Amazon Web Services. Do I cut out the products from my own SQL database and use this webservice instead? I can see no other way of populating my SQL database with that amount of data (and I'm not particularly experienced with SQL).
JSON seemed like a nice, simple method for transporting data but if I introduce AWS into my project, does it make more sense to use XML as my choice of data-representation? I can see nothing inherently wrong with JSON at the moment but with my limited experience, I'm not sure if choosing XML would just be a cleaner, less-hassle approach when I get further into development?
Are Java servlets appropriate? Again, I can see no major reason why not other than I am not _that_ familiar with the alternatives available and so I feel quite comfortable using these.
These are just a few of the points I am confused on. Really I'm just looking for people who have developed a similar web-app (or are in the process) and would like to hear their advice on what worked/didn't work for them. The site is one-person programming task so does not have to be absolutely massive/complex however it must implement standard AJAXian features in a seamless manner, and so requires some planning on how to achieve this efficiently.
If anyone can point me to some good articles/guides/examples then I would also be very appreciative. I've read a great deal about AJAX but unfortunately I have yet to convert that into concrete ideas I can go ahead with and just implement.
I'll be happy to answer questions and get more specific with certain things if anyone wants but at the moment I'd appreciate any responses that can get the wheels turning on this. Thanks :thumbsup: