Friday Night Project

Is It Haiku?

Posted by on Apr 10, 2011 in Coding, Friday Night Project | 0 comments

Okay, it's not Friday, but the last Friday Night Project was kind of shaky…so here is "Is It Haiku?"

 

View The Demo

 

Read More

Pokkerist

Posted by on Apr 8, 2011 in Friday Night Project | 0 comments

Jah, pokker on mõnus mäng raha teenimiseks. Mis mina sellest arvan? 

Download .EXE

 

Read More

FNP: Simple Flowchart App

Posted by on Apr 2, 2011 in Coding, Friday Night Project | 0 comments

So, it’s friday again, the night of partying and alcohol consuming, or in some cases, coding. Here is another one of my FNP (Friday Night Projects), in this case, a simple example on how (not?) to write a simple flowchart app.

At first, the idea was to do it in Ruby, for learning purposes, and in much larger scale. Users would get a quick signup and the ability to CRUD (Create, Retrieve, Update, Delete) flowcharts… but I gave up on that and chose to write only the UI part with minimal PHP backing. The code is meant to support only one flowchart and the data is hardcoded in PHP (you could ditch the JSON and put it in the HTML too if you wanted to).

The project includes some CSS and image files, a PHP script that outputs JSON data with flowchart questions+answers and a HTML template with minimal jQuery code to retrieve JSON from the PHP file.

How Men And Women Argue was chosen as a base to work on. Total time spent: ~2hrs. The questions and answers are in a PHP array (ideally you’d want to involve a database for that). The code (excluding used 3rd party CSS) is released under Don’t be a Dick Public Licence.

So, without further ado…

View the Demo

Download the Project Files

Read More