News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Dart and PHP A Legacy Animal Guess Game
December 10, 2013 @ 11:54:40

The SitePoint PHP Blog has a new tutorial posted today showing an interesting combination of technologies to create a simple Animal Guesssing Game - using Dart as the frontend and PHP as the backend.

Back when I was learning programming on Apple II using BASIC, there was an Animal Guess Game. This game was a very primitive AI game: the computer tries to ask a few YES/NO questions and receives the answer from the user. Based on the answer, it may ask more Y/N questions until it tries to guess the animal. In this tutorial, we will learn how to re-vitalize this program using PHP as backend and Dart as frontend. Of course, a database will be used to store all the questions and guesses of animals.

He walks you through the database setup (including table definitions) and provides some simple PDO-based code to connect and fetch results. Then comes the Dart frontend. He goes through the installation and configuration and how to make a new Polymer application, also including the markup and Dart code to make the backend connection.

0 comments voice your opinion now!
dart animal guess game backend frontend tutorial

Link: http://www.sitepoint.com/dart-php-legacy-animal-guess-game

blog comments powered by Disqus

Similar Posts

Mike Purcell's Blog: PHP - Reflection Class - Determine Parent Method Signature

PHPBuilder.com: Use the PHP Filter Extension to Validate User Data

DevShed: Decoupling the Validation of Data with Bridge Classes in PHP 5

Davey Shafik's Blog: Debugging on the Command Line with xdebug

SitePoint PHP Blog: How to Avoid 404s and Redirect Old URLs in PHP


Community Events





Don't see your event here?
Let us know!


release refactor developer symfony2 threedevsandamaybe framework podcast laravel unittest testing introduction opinion code install experience series interview language community list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework