08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Web Apps for the Masses
1. Web Apps for
the Masses
@davidscotttufts
davidscotttufts.com
Photo by razorray15
2. About Me
• Born and raised in Brazil
• Live in Grand Rapids, Michigan
• 1 beautiful wife
• 6 great kids (5 boys and 1 girl)
• Co-founder at Rocketwood
• Web Producer at RBC Ministries
• Developing KickPress, a WordPress plugin
3. The Sweet Smell of Success
In under 2 years with WordPress on odb.org
• From 2.1 million to 5 million page views per month
• From 0 to 140,000 subscribers to daily email
• From 0 to 100,000 mobile app sales
• From 0 to 90,000 Facebook fans
• Web donations increased 50%+
• 40% less hardware
• 30% savings
Graph by Francesco Schwarz
7. Features of Web Apps
Offer a service
Safe-keeping of your
personal data
Access to your personal
data through an API
Roles and permissions
for controlled and/or
restricted access
14. No WordPress
core files or
database tables
were harmed in
the production
of this plugin
Photo by Sarah Fleming
15. KickPress allows for easy Custom
Post Type management
• Create new post types
• Assign Roles and Capabilities
per post type
• Manage custom workflows
• Extend post types with modules
Custom Post Types
Photo by Brad Coy
18. 3 kinds of API requests to the server
1. // Request for a full page from the theme
kickpress_is_fullpage();
2. // Request for a page fragment via Ajax
kickpress_is_ajax();
3. // Remote API request or action
kickpress_is_remote_api();
20. Triggering the KickPress API
API Parameters are appended to the end
of the standard WordPress permalinks:
{site}.com/how-to/ {Archive page for custom post type called “How To”}
{site}.com/how-to/api/add/
{site}.com/how-to/api/save/
{site}.com/how-to/using-powerpoint/api/edit/
More Examples:
{site}.com/2012/02/18/wordcamp/api/edit/
{site}.com/2012/02/18/wordcamp/api/save/
{site}.com/2012/02/18/wordcamp/api/delete/
{site}.com/2012/02/18/wordcamp/api/bookmark/
{site}.com/2012/02/18/wordcamp/api/add_term[category]/featured/
22. Theme Modifications
Add an extra conditional comment
to the top of these theme files:
header.php
footer.php
sidebar.php
<?php
if ( kickpress_is_ajax() ) { return; }
?>
23. Theme Modifications
Add a conditional blocks for any code that
should be ignored on AJAX requests:
<?php get_header(); ?>
<?php if ( kickpress_is_fullpage() ) : ?>
<div id="content-wrapper">
<?php endif; ?>
<?php $post_type = get_post_type(); ?>
<?php get_template_part( 'loop', $post_type ); ?>
<?php $args = array( 'post_type', $post_type );
<?php kickpress_ajax_reload( $args, 'content-wrapper‘ ); ?>
<?php kickpress_is_fullpage( '</div>‘ ); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
25. Authentication
Every registered user is
assigned a “token” and a
“secret” to be used in
generating signatures for
making ReSTful OAuth
style API calls to the
Web App.
Photo by Jon Worth