sábado, 1 de mayo de 2010
And so there was light!
At last on Wednesday, after long time thinking and with an incentive (a good cup of coffee and a delicious slice of pay XD...) and so there was light! I got inspiration to my head. I was designing the protocols that would make it possible that the system would work as distributed... after long hours I could make an outline of what each protocol should do, indicating what would be done on the server and client sides. Then we would only follow the recipe and pray Alfonso and Martha could implement them and make the system work!
Only a few hours left for dawn and share this idea with my friends, and work in the implementation.
The (almost) last post
After like a month of doing nothing (actually working for other projects), we got back to work on Tuesday. My teammates commenced doing research on java sockets, and using the code provided by the Programming teacher Ariel Ortiz, which involved the use of a single java socket for both client and server for clojure, using an agent to control concurrency, Martha was able to implement a code that copied the database from the server to the client, so the client would always have the most up-to-date version. On Wednesday, Karen began to work with that code, and tried to implement the code that would make updating, creating and deleting possible in a distributed way, but she realized that it would be too complicated to start from scratch, and she designed the protocols for every transaction, which proved to be very useful later (for more information, see Karen’s post)
After the protocols were designed, Martha and I checked them, and began to implement them. Thank god it was pretty easy, and we just technically followed by the book the protocols and in a couple of hours we had already implemented the easiest ones. The next day, in a free hour and half before our class, we had already implemented all of them, and almost all of them were working, except for the update protocol. Today, we met in my house, and we’ve made everything work, in a local and distributed way. (for more information see Martha’s post).
It’s pretty interesting for me how much we have learned with this project: a whole new language, and so much more about java’s API and its internal logic. I’m happy to know that our big effort to make good code for the first delivery paid off, and we were able to finish the project in no more than 4 days.
It seems like we’re done now =), we’re happy like hell, and we’ll just ask for some help to make the jar work on Monday and we’ll be absolutely done. If you’re visiting this blog, please don’t forget to vote! See you in our next (and hopefully last) entry.
The pursuit of knowledge...
miércoles, 24 de marzo de 2010
Every Wednesday's code
Now we're almost ready to make our first delivery, just a few tests needed to be done and we'll be good to go!
Although this first stage was tough, the team worked extremely well. Everyone participated, which allowed work to flow as planned. We still have a lot to work on for the final product but keeping the good work will help us finish it in no time!
As always you can find some pictures in our gallery. Good Luck and don't forget to rate our blog's info on the right side bar.
miércoles, 17 de marzo de 2010
Designing the Graphical Interfaces!
Today we meet in school and dedicated ourselves to programming and designing the graphical user interface (GUI). We achieved an outstanding result, and we'll soon be ready for the first delivery!
Today we had an exciting day. When we were joining the interface with the methods of dbmain.clj, we realized that some of them still had some details that required correction, but we managed to fix them relatively quickly; given that our clojure programming skills are improving considerably!.
We have come a long way through this day, and if everything goes o.k., we'll only need to unite all the windows that we've created with the main menu and give them an appropriate general format according to the Java Look and Feel Design Guidelines. But first, we must make sure it's working properly.
It is also important to work as a team, as today we had many small problems and together we managed to each and every one of them. It's fantastic to see how the project is taking shape, and we are beginning to see the results of our hard work. However, we should not live in the delusion of extra time, but keep the work pace. We believe that we can go on a little further of the first delivery while working constantly, in no hurries and maybe without having to meet weekends anymore ! :D.
After a long day, now it's time to go to bed and gain energy for tomorrow, as we'll continue working on the project. Let us not forget that we have other courses to attend too!
To check the code produced today, please visit our googlecode page
domingo, 14 de marzo de 2010
Coding on Sunday!
On the other hand, we began discussing how the GUI is gonna be and look like. We made some sketches and a general idea of what the user options should be, and we've decided to split classes creation responsability, so everyone can work at home. We expect to get everything done by next weekend, so we can integrate and present it to the class on March 23rd.
To see the photos check out our Gallery
martes, 2 de marzo de 2010
Why a New BSD Licence?
So please go on! you may check our code freely, and (re)use it as well for whatever a purpose you want, either open or close. Just read carefully the conditions of our license and respect them.