Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

From time to time, I'm asked for code samples. Find them here.

Notifications You must be signed in to change notification settings

bishopb/miscellaneous-code-samples

Repository files navigation

Tasty free samples

From time to time, I'm asked for code samples. Find them here.

Understand these are just fragments. Tiny little tidbits of code and not part of any cohesive framework.

Source File/Directory Overview
mbm.zip A built and runnable Zend + Dojo application. Demonstrates HTML5, CSS3, AJAX and REST. Add your PayPal gateway information to the Enroll module's configuration to use the payment gateway. See a live demo.
GIS A collection of PHP code to create Geographic Information Systems (GIS).
Zend_View_Duration_Helper As the name suggests, this is a Zend Framework view helper that outputs duration values in a human-friendly string. For example, instead of outputing "77 seconds left", with this helper you could output "1 minute 17 seconds left".
What sets this helper apart is that the format is entirely flexible, being driven by printf() style specifiers. This allows the format string to be easily passed through i18n language translation.
Discussion of this helper, esp. the clone() call in the constructor.
Dojo-Forms-with-Templating-and-Internationalization This collection of files showcases how to blend Dojo's 1.8 templated forms, with internationalization.
The source blog post has become the definitive guide to this often repeated tasks.
LoadData.sql Demonstrates a quick SQL statement for sucking in CSV formatted data, fast, while also fixing any quirks in the data.
Discussed in detail in this blog post.

About

From time to time, I'm asked for code samples. Find them here.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published