quarta-feira, 3 de agosto de 2011

GSOC 2011 - Last news

Hi people,

First of all, sorry not writing much last weeks. So, let me update you about my project.

In July the Google Summer of Code Students submit the mid-term evaluation, and the mentors as well. For me the result was.... I was approved, yeah!!! \o/

Meanwhile, I have been working finishing the integration between the Browser Tree and the new plugin Example. The Example is a demonstration plugin we have been developing for phpPgAdmin, that will guide the developers to create other plugins.

So, I and my mentors discussed a lot about escaping issues, to prevent the plugins have security problems. That's a very important thing in softwares ;-)

And now, I finished some of my mentors' reviews.

That's all people, see you soon!

sexta-feira, 8 de julho de 2011

Plugins and trees

Hi folks,

Here I am again to talk about my current activities in Google Summer of Code program 2011.

In the last two weeks, I have been working integrating the new Plugin Archictecture, with the phpPgAdmin Browser Tree.

I had a lot of difficulties to understand how the Browser Tree works. But my mentors showed me the light of how to create a hook for this feature.

So, I have created a simple example extending the schema's page. Below is displayed an image of this example:

Browser Tree


It is not ready yet. I need to create more page levels, and maybe other examples to demonstrate this feature working.

My mentors also have done reviews in my code, and I worked fixing some issues as well.

That's all for now. I hope in the next post to write that the Browser Tree Hook is done :)

sexta-feira, 24 de junho de 2011

GSoC 2011 - Plugin architecture and action buttons - Part II

Hello,

During the week I have worked finishing the integration between the new phpPgAdmin plugin architecture and the action buttons. An example of this feature can be saw below:



This way, all page that have action buttons, now can have new extra operations.

By the way, in my examples I am using data from Pagila, that is a very usefull collection of sample databases.

Now I will start working integrating the Browse Tree part with the plugin architecture.

Well, that's all for while. See you soon!

sexta-feira, 17 de junho de 2011

GSoC 2011 - Plugin architecture and action buttons

Hi people!

This week I have worked finishing the integration between the navigation links and the new plugin architecture. I had to refactor some files in the phpPgAdmin core to this feature be possible.

Now I am developing a new feature, creating a hook for action buttons. See the image below to understand well what these buttons are:



I have created a hook for it, and a simple example to show this feature working. There are some files in the phpPgAdmin to refactor, and some of them I have already refactored. My mentors and me have been discussing about that.

Jehan and Andreas also sent me more comments and reviews about our work so far.

That's all for while. See you guys!

sexta-feira, 10 de junho de 2011

GSoC 2011 - Trails, navigation links and reviews

Hey guys!

It was more a week working on Google Summer of Code 2011.

These This week I have worked on the integration between the trails component and our new plugin architecture. A preview can be saw below:



My mentors sent me some reviews of the code, and we worked together, discussing to solve them. Reviews are very important during the development of software. Some time developers do not realize some mistakes and bugs. Other opinions are also important to get new points of view.

I also have been working on the integration between the navigation links and the new plugin architecture. To make it, I had to refactor some code inside the phpPgAdmin (PPA). I confess I didn't imagined this would be necessary, but, in the other hand, it was important for me know parts of PPA that were unknown to me.

Well, that's all for today. Cheers!

quinta-feira, 2 de junho de 2011

GSoC 2011 - Go code

Hi folks!

Last week the Google Summer of Code 2011, coding period, started. And, during this week, I worked on a feature to integrate the new plugin architecture with the phpPgAdmin (PPA) tabs. I also review the toplinks code, creating a simple page to demonstrate the plugin Example working. If you do not know what are tabs or toplinks in the phpPgAdmin, take a look at the following image:

phpPgAdmin screen shot


Right now I am working on the integration between the Trail (see above) and the new plugin architecture. The logic of this part is not that much different from the tabs.

I think the basic structure is going well, and the development is in the schedule. Anyway my mentors has been reviewing my code, and doing some constructive suggestions about it. Some of the comments have been discussed during this week among me, my mentors and other PPA developers, as Mr. Robert Treat. I thank the attention that my mentors, and other developers as well, are giving to this project, together we will achieve successfully results :D

That's all for today, see you soon!

segunda-feira, 23 de maio de 2011

GSoC 2011 is ON

Hi folks!

The bonding period has finished. During this time, I contacted my mentors, Jehan and Andreas, to discuss more about our great project. If you don't remember, in this GSoC, we will develop a new Plugin Architecture for phpPgAdmin.

Well, I started up my development environment, with all PostgreSQL versions. I will work with:
  • PostgreSQL 7.4 -> 9.1 beta
  • PHP 5.3
  • GNU/Linux Ubuntu 10.04
  • GIT 1.7
  • Apache 2
  • jEdit to code

I also created a script to install all the PostgreSQL, if for any reason, I have to create a new development environment. We have just 3 months to do this job, so, we cannot have problems ;)

My mentors teach me how to use the Selenium to make tests. I thought it amazing, perhaps, I had a different point of view about Selenium stuff. With a simple action, I can make regression tests, to check what I am doing will work with all PostgreSQL versions. It's very nice, don't you agree?

More things that they teach me were about how write good logs for my commits. I confess that using Subversion I didn't make comments in my commits, but it's very important. And, day by day, I am getting more knowledge using GIT, and GitHub. By the way, my phpPgAdmin fork can be found here.

I also learned a lot about IRC abbreviations, like IIRC, AFAIK, *g*, re, etc...

Well, see you on other post guys :-)

terça-feira, 10 de maio de 2011

GSoC 2011 - Bonding period

Hello people

The GSoC 2011 has begun. Until May 22 is the bonding period. In this time, the students should contact their organizations and mentors to talk about their projects.

This year I will have two mentors to help me accomplish the project, Mr. Jehan and Mr. Andreas. They are helping me a lot. Jehan teach me how use the GitHub, and integrate it with our IRC channel (irc.freenode.net #phppgadmin). Every time I push something to my phppgadmin fork, the GitHub send a message by IRC with informations about it. I liked a lot this feature.

According to my activities, the first task is to drop the current plugin architecture. It is deprecated, and the only ppa plugin has a lot of intrusive code inside phppgadmin. Jehan teach me how use branches with GIT, I have already created a branch and pushed it to my phppgadmin fork. When Jehan and Andreas validate my patch, I will merge it with my main line of work. And after, I will pull to main phppgadmin project.

Now I am working on the basic plugin structure. I hope to finish it on time, and start working on other subjects :-)

That's it for now people, see you soon...

terça-feira, 26 de abril de 2011

Google Summer of Code 2011

Hi people, I have good news:

"Dear Leonardo, 

Congratulations! Your proposal "New phpPgAdmin Plugin Architecture" as submitted to "PostgreSQL Global Development Group" has been accepted for Google Summer of Code 2011."

Yeah!! Amazing news!

I thank my mentor Mr. Jehan-Guillaume de Rorthais, co-mentor Andreas
Scherbaum, the PostgreSQL Global Development Group and the Google for help and accept me as student in this important program.

In my participation in the Google Summer of Code 2011, I have the goal to refactor the current plugin architecture, creating another one.

A copy of my proposal can be found in this link.

During the next days, I will post what I am doing in the GSoC 2011.

Now, the work begins :D