UncleCheese and I were looking over the silverstripe.org website recently when we came across the example block of framework code on our software section. Let's be honest, it's been there in this state since the community website relaunch at the end of last year.
Frankly, we thought, "Hey, why not let the community showcase their SilverStripe coding skills in that space?". It was also about that time Stig, one of platform engineers flew his quadcopter drone across the room nearly taking out UncleCheese's desk lamp. And thus the SilverStripe #codecomp was born.
We are looking for great examples of SilverStripe code that will take pride of place on our software page. The SilverStriper that best shows off his or her SilverStripe CMS PHP coding skills will take away a radio controlled quadcopter drone. We'll be looking for code elegance, technical chops and how "SilverStripey" your code is (the idea is to show off some features of the framework after all).
The competition will be judged by a panel of long-serving SilverStripers: Sam Minnée (SilverStripe CEO), Dan Hensby (SilverStripe UK) and Marcus Nyeholt (SilverStripe Australia).
Your submitted code must:
- Be free of syntax and runtime errors
- Adhere to SilverStripe coding conventions
- Be 45 lines or less, including opening <?php tag. (The design is height-constrained)
- Be coherent, but not necessarily functional on its own. Imaginary code in the user space is acceptable if it helps to convey what the code does.
- Contain a credit in the format "Code submitted by <name/handle>"
- Be submitted as a GitHub Gist.
Entries close 31st July (midnight UK time). Winner will be announced on the 11th August.