We dived into Drupal.
I'm sorry, I had to "lift" this expression from the web's "dive into" guru (Dive into XML, Dive into Python, Dive into Tuxedo...), Mark Pilgrim.
Faster than a speeding bullet, braver than a duck train, our fearless dojo pulled us under the water for over two hours, and then sped off, suddenly gone, leaving us with irc logs, sound recordings, pastebin code fragments, Ogredude's class within the class on OOP ("Ogredude: wait a minute. Hooks use the Decorator pattern..."), the Drupal API opened on all four "Workspaces" of my Ubuntu desktop, fragments of code, WebHuddler on the boil slowly on my laptop along with Skype still spluttering softly, the last strains of the Chinese national anthem still echoing stridently in the background, and mate stains over my keyboard, plus the memory of Federico and I exchanging enthusiastic gazes throughout the evening. So that's how you do it...
We had learned something. We learned a class.
This post is an attempt to instantiate the gestalt of that class, to fashion a single synthesis, so that others may gain a vision of all the doors which were truly opened, plus a glimmering of what lay in the rooms now opened, all converging into a synthesis of some running demo + code I hope will be posted here by the end of the day, as a kind of "homework example".
Josh says that we will learn more by doing things than from the classes themselves.
[Note: all code examples tested and run as advertised on my own test installation. Everyone should do exactly the same, so we are all on the same page, and can later feel right at home doing patch reviews!!!]
Snip original write up now superceded by: Wiki Class Notes: Lesson #1

Comments
Greetings programs
It's waay late here but I want to say what up NorCal and social netwerks.. I worked with joshk back in the day, damn NYC was fun I miss it sometimes. I can't say the Shaolin was very much fun but Manhattan pre-9/11 was a major trip I'll never forget it.
I really enjoy PHP something about preemptive or preprocess calls made to html/xhtml2.0 using httpd are fly. I enjoy drupal without javaslick/ajax and cookies enabled for originating server only ( though I make an exception for *.drupal.org; social netwerks and all ). In terms of authentication I think there are many cool ways to get around single sign-on and central repositories I'm not talking about the OpenID standard but that implementation is not bad for *.gov systems. I would like to beef up my authentication dojo and do some PHPsession/drupal magick in the area of subscription signing ins and certain types of (computational) spread spectrum encryption.
I am a PHP, ruby and python h@x0r with a smattering of perl. My favorite OS flavors are Mandrake/mandriva 10.1 and OS X. SunOS is well made too. I hack linux kernels. I want to learn more about robotics. I study power use in computers and read RFCs, compliance stuff and know how to maximize security. I like new, cutting edge software and the old sk00l. I'm looking into SCTP which could be a viable replacement for TCP and is compatible with common UDP/IP + icmp,igmp. I think somehow importing comm standards like kermit and xmodem into CMS will benefit people in other countries who still don't have broadband and are basically 10 yrs behind the u.s. in telecom. I'm into game projects I think Second Life has potential but needs an infusion of private non-profit commissioning and independent efforts.
I am a left winger who believes in our republic; capitalism and socialism /can/ peacefully co-exist, competitively as it were. I am a writer of sorts too who takes a SciFi non-realistic short story approach. Writing outlines and Whedon-esque pulp fiction novellas are fun. I like Brin, Heinlein, Tolkien, Sterling, Gibson, McKinney and original beatnik musings.
On both a personal and political note I rode a long, strange "hardcore" (h)ac(k)tivist wave between '02 and late '04 I'm pretty sure I was on darth cheney's people-to-deport list I may have been one of the first Northwesterners subjected to the illegal secret wiretaps and lone wolf legislation that that racist A$hcrotch pushed. Hint hint: no love lost between me and the dictatorship currently residing at 1600 Pennsylvania Ave. I'm a Taurus I occasionally consult my magic 8-ball so I run hot and cold (I'm kind of an athlete) but my Tao/Buddhist beliefs span the physical and virtual worlds and I'm quite fond of passive/active neutrality: Love Is ( as in vérité or Truth Is ). Nothing's free. Matter can neither be created nor destroyed. Quantum entanglement blows my mind. Optics is plain neat, though difficult at times. Physics is fun I am strongly considering this as my major. I like rocks (geology) too. I'm a rockhound. Someday I want to build portable biospheres and learn more about biology and genetics.
When the farq is java going to go completely open source, anyway? I was expecting more digital goodies than this for xmas: http://download.java.net/openjdk/jdk7/
Watch out for nested macros! =)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS d? s++: a- C++ UL++ P+ L++++ E-- W+ N+ o K- w--
O-- M+ V PS++ PE- Y PGP++ t+++ 5+ X- R* !tv b+++ DI- D++ G e h r y**
------END GEEK CODE BLOCK------
Hey Nick!
Great to see you here!
http://www.chapterthreellc.com | http://www.outlandishjosh.com
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
Wow!
This is fscking great documentation, victor. Once you're happy with it, let's make it into a wiki-page and also get it into the "official" drupal.org handbook.
http://www.chapterthreellc.com | http://www.outlandishjosh.com
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
my bad
It already is a wiki page.
http://www.chapterthreellc.com | http://www.outlandishjosh.com
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
Screencast
FYI: you can watch this lesson after the fact here:
http://www.mediafire.com/?4ozcxncmvzd
http://www.chapterthreellc.com | http://www.outlandishjosh.com
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
Does this work for 4.7?
Thanks for posting this.
However, I went through the lesson afterwards and from part 3 on I had problems.
This:
<?phpfunction dojo_form_alter($form_id, &$form) {
print_r($form);
}
?>
... was about the only code I got working with my dojo.module. Any other of your snippets inside the module wouldn't show any result in my White belt node. I realised your comment:
// 4.7 code: $output = form_render($form);and tried to change all the snippets accordingly but no results
Maybe somebody else can check. It doesn't make a lot of sense for 4.7. users (currently using 4.7.4) to follow these lessons if the code doesn't work. Or maybe I got this all totally wrong?
The other thing was: when you do the "print_r" in my browser it doesn't render that nicely. It is mainly an endless line of code. Have I done something wrong?
cheers, xl
Lesson based on 5.0
Great that you were working through the examples.
I think your best bet would be to try them on a 5.0-rc2 install, just to get the general drift.
If you need this all to work for 4.7, I think the problem resides in the naming conventions for the theming files for CCK nodes:
4.7 - node-content-your_content_type.tpl.php
5.0 - node-your_content_type.tpl.php
In general checkout the (under construction but extremely useful) CCK Handbook:
http://drupal.org/node/101723
Then, specifically, check out the discussion on the naming conventions (mentioned during the course but not reflected in the class notes)
This thread is what could help you, I believe: http://drupal.org/node/62468#comment-136310
Part of the "Creating a template" page ( http://drupal.org/node/62468 )
Hope that helps.
Victor Kane
http://awebfactory.com.ar
Victor Kane
http://awebfactory.com
Thanks
Thanks Victor. I'll give it a shot! And maybe I'll set up a 5.0 version til next time.
xl
movie helps
I've had a quick look at the movie which explained a few things. So don't bother to respond.
cheers, xl