As BMX Race Events approaches the end of its beta version I’m finding more time to blog regarding the development life cycle of this side-project. The most recent section that was completed was the Google Maps API v3 integration. I want to note that the content is derived from our JSON feed, all 362 tracks [...]
Custom Post Type, Git, Google MapsTL;DR I create a file called demo_controller.php and then go to site.com/demo/ which loads site.com/wp-content/plugins/my-plugin/views/demo/index.html.php While writing the routes.php file I came across a nifty “trick” to map classes to urls to templates. It saves a hella good time when dev’ing. For example the following urls are actually real files, no pages, no db queries, [...]
While creating the archive template for our Custom Post Types I ran into an unexpected behavior in the built in WordPress search or possibly a small bug. First understand that we are only hooking into WordPress’ search template, we are not using any of the built in searching features of WordPress for various reasons. Second, Events [...]
Custom Post TypeThe end result was simple, on each page reload display a new random image, and a new random callout for an event based on the users current location. I started with one method, which was fairly large, about 100 LOC. All the while my intention was to break out pieces into reusable methods. In the end my [...]
Todays quick “dev sess” consisted of some Facebook Open Graphs, adding a tabbed sidebar, and tweaking the doSearch JavaScript function. All in all I was pleased with the outcome, although Pete spent some time talking to his monitor…
My largest presentation to date, with around 60+ attendees, contraversially titled “Who needs Ruby on Rails, WordPress, the other Web App Development Tool“.
One of the first things I quickly learned when developing Custom Post Types (aside from making them a plugin vs. a theme) were the different approachs to managing the custom templates. My final approach was to create a re-usable action, hook into template_redirect via an lambda/anonymus function, pass in my params as an associative array into my [...]
Custom Post Type, Custom TaxonomyOne of the development goals for the BMX Race Events plugin is to have a well organized and unified directory, file structure, and naming convention for using Custom Post Types. In the hopes I can rapidly add new features track down and fix bugs and have a piece of mind while I am developing. I began to draw a comparison between WordPress’ Custom [...]
Custom Post Type, Custom Taxonomychmod -R a-x+X directory Remove the execute permission on all files in a directory tree, while allowing for directory browsing. http://en.wikipedia.org/wiki/Chmod
Recently, while working on my WordPress Multi-media Cart plugin for Graph PaperPress I came to the section for Paypal integration, and its a mess, the Paypal documentation that is. Here’s some thoughts and concerns regarding my experience traversing Paypal’s documentation. I’ll always stand by developer documentation first, such as; The Codex, PHP.net, jQuery, Rails, AWS [...]
PayPal