Some comments about coding tasks

Google's Highly Open Participation Program tries to get young students into Open Source and Joomla! specifically. Everyone is welcome, there are not limits. You can be a coder, documenter, tester, translator to help out. Jump in and start helping!
Post Reply
User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Some comments about coding tasks

Post by mcsmom » Sat Dec 01, 2007 3:47 pm

I really am impressed with the code coming in!

A couple of pointers for excellent code:

1. Remember to test your  code in several different browsers, including the notorious IE6 if possible, and test the front and back ends.

2. Remember to use good commenting.

3.  Use as few hard coded strings as possible and include a language file.

4. All code should be for Jooma! 1.5. Please use the most recent nightly build or get a downoad via subversion since there have been many changes  since RC3.

5. If you are doing an extension, make sure to test the install and uninstall.

6. Get feedback and advice from here and in the other forums. For example, you might try the extensions forum.


Great work everyone!
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Some comments about coding tasks

Post by mcsmom » Mon Dec 24, 2007 12:36 pm

We are trying hard to keep up with the amazing flow of code that is coming in.


I have a testing process that I use for the code items. If you use it yourself or in looking at another person's work, you can trouble shoot too and this will help speed up the reviewing process. Even if you have sent a file, please keep testing yourself. 

First, install, uninstall, install again.

You would be surprised how many errors you pick up with these three. The second install is really important since it picks up on uninstalls that seemed to work but actually were not complete.

Then I enable/publish ... and check the front end to see if there are errors. Lots of times just doing that will mess up a site.

Then I take a look at what options there are. I try each one and see what happens in the front end. DOn't just look at it, test any links etc. Does  it work as expected? If not, what is wrong?

Then I will post a report in the appropriate thread.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Post Reply

Return to “Google's Highly Open Participation Contest”