Just a little something if anyone else is learning to code for Joomla: check out
NoNumber's Sourcerer. I'm using a dummy article as my testbed for code. It makes it really easy to try out code within Joomla and debug. It's really good for trying out functions within Joomla that you're not familiar with. Swap out variables, echo the result of something to see how it works. Here's something I was playing with earlier:
<h2>
{source}
<?php
$article_id = JFactory::getApplication()->input->getInt('id');
$article_title = JTable::getInstance('content');
$article_title->load($article_id);
echo 'This is the current article\'s title: '.$article_title->get('title');
?>
{/source}
</h2>
VERY basic, but I imagine using this within a module while testing out various pages and running sample code to see what works and what breaks.
At one point I was referencing classes
from other PHP files, so I was able to see how using the libraries interacts with my code and whatnot. Fun times! I could also probably use the include function to write my code and upload within Notepad++, refresh and see results over dealing with updating the article every time.