Saturday, January 2, 2010

Google App Engine

Great! The google app engine has allowed me to do something that I've been wanting to do for a long time. I often write little Java programs to help with my own projects or projects that have to with my biotechnology research. I would often like to put any code I write on the internet so that it is accessible by anyone. However, sometimes I have had a hard time doing that, especially if any of the code I have written uses an external library (jar file) from someone else. However, now that the google app engine has been released all of my problems have been solved. It is now much easier to just write all of my code in Eclipse, and then put it up on the web when I'm finished.

Usually my programs just involve some type of text input, and then produce some type of text output. This is especially the case if I am just writing some code for a science application. In order to write programs faster in the future, I made a simple program that takes input text in an input text box, sends the data to google's servers, performs whatever computations are necessary, and then puts the output into an output text box (simple-input-output program). The program as well as the source code can be found here:

http://simple-input-output.appspot.com/

There is also a link to some other programs I have made. At the time of this writing, one of the programs uses a genetic algorithm to evolve a regular expression to try to match as many strings in a list as possible. Another program is a mass spectrum analyzer to identify which residues of a protein have been glycosylated based on the information from a mass spectrum instrument.

http://pattern-matcher.appspot.com/

http://mass-spectrum-analyzer.appspot.com/

I think that next I would like to make a program which can upload a spreadsheet file, create update and delete (CRUD) records from this spreadsheet file to a database, and then let the user download a spreadsheet file that may have been created or modified by the program. This would basically be the same type of program as my simple-input-output program. However, it would be more suited to handling large amounts of data (more data than can fit into the memory of 2 GB of RAM or something).

1 comment:

Fat Bold Cyclop said...

Good luck with your project.

As for spreadsheet files GAE integrates well with Google Docs. You can read and write to a spreadsheet and share it online. I remember, when I tried to read Excel files, there was some problem with it. I tried to use Apache POI but it was incompatible with GAE.

Please, keep us updated when you succeed reading spreadsheet files.

Regards,
fat bold cyclop