WCPHX2014 – WordCamp Phoenix 2014 – Day 2

My second day at WordCamp was heavily overshadowed by the Saturday night party :). There were also some presentations I couldn’t quite connect with. Nevertheless lots of cool stuff. If you are looking for my first day at WCPHX 2014, you find it here: http://schurpf.com/wcphx2014-day1

Day 2

@scottbolinger – Apppresser

Talk about @apppresser

@pdclark – Cowboy, Meet Ninja

slides: http://pdclark.com/wcphx2014/

sandwich

source: http://xkcd.com/149/

wp engine .gitignore: http://cdn.wpengine.com/wp-content/uploads/2013/10/recommended-gitignore-wp.txt
deploy git to svn for wp plugins: https://github.com/brainstormmedia/deploy-plugin-to-wordpress-dot-org
php error logger for console: http://firelogger.binaryage.com
hide test sites: http://wordpress.org/plugins/wp-require-login/ or http://wordpress.org/plugins/wp-maintenance-mode

@pippinsplugins – Sane plugin updates
slides: http://pippinsplugins.com/slides/wcphx/22703/

beta test
tag releases
change logs with prefixes: NEW:, FIX:, TWEAK:
Release often iterate quickly (point releases)
Use auto updater for non wp plugin repo hosted plugin

http://wordpress.org/plugins/wordpress-reset/

@williamsba – Writing Secure WordPress code

slides: http://www.slideshare.net/williamsba/writing-secure-wordpress-code

  • SQL Injection SQLi
  • Cross Site Scripting XSS
  • Cross Site Request Forgery CSRF
esc_attr_e( $text, $domain );
esc_url( $url, $protocols, $_context );
esc_url_raw( $url, $protocols );	
sanitize_text_field( $str );
wp_kses( $string, $allowed_html, $allowed_protocols );
wp_kses_post( $data );

wp_nonce_field( $action, $name, $referer, $echo );
check_admin_referer( $action, $query_arg );
wp_nonce_url( $actionurl, $action, $name );

http://codex.wordpress.org/Data_Validation

@jondavidjohn – WP Deployment

slides: http://jondavidjohn.github.io/bigredbutton/

https://github.com/capistrano/capistrano/wiki/2.x-Getting-Started

https://github.com/crowdfavorite/gem-capistrano-wp

Other interesting projects/people

@jcasabona
http://casabona.org/events/responsive-design-with-wordpress-wcphx/

@ReduxFramework
http://reduxframework.com/

https://github.com/logoscreative/archetype-genesis

backbonejs
http://wordpress.tv/2013/10/20/k-adam-white-building-apps-with-backbone-js-and-wordpress/
https://github.com/kadamwhite/backbone-wordpress-demo

http://wordpress.org/plugins/json-api

interacting with external apis
http://wordpress.tv/2014/01/10/ben-lobaugh-interacting-with-external-apis-2/

just in time user interactions
http://www.youtube.com/watch?v=Sx5GJo_14S8

http://wordpress.org/plugins/wp-help/

https://www.cloudflare.com

Python Capistrano alike deployment: https://github.com/AllStruck/secret-robot

This is really more a summary of awesome than anything else. Thanks WCPHX2014! I left early Sunday morning so no Day 3 for me this time :(. I will sure stay next time until the end.

The unimprovable day to resolve health problem is before any visible sign appears. Actually there isn’t anything you can’t purchase on the Internet anymore. Whereas erectile disfunction is more common among older men, that doesn’t some you simply have to live with. What about “canadian pharmacy cialis 5 mg” and “cialis canadian pharmacy“? In our generation, there are divers options for those ones who suffer from erectile malfunction. You may have heard about “canadian pharmacy online cialis“. More data about the matter available at “canadian pharmacy cialis 20mg“. Why it happen? Can sexual disorders in men be prevented? If you get any prescription remedies like Viagra, check with a pharmacist that they are sure to take with your other remedies.

WCPHX2014 – WordCamp Phoenix 2014 – Day 1

This is unreal, all the great stuff I learned over the short time span. Got a lot of new ideas and things to learn from this small weekend. I wanted to put together what I found most interesting in this blog post more as a list and reminder for myself but also for anybody reading this. It may start you off on a learning quest :)

This is not my attempt at a complete summary of WCPHX2014, I am merely trying to note down the things I found most interesting and acredit the person how got me to think in that direction via their twitter handle.

Day 1

@bradparbs – Writing Extensible Plugins

slides: http://b.parbs.me/TPhc

if (function_exists(function_name))
if (class_exists(class_name))

do_action( $tag, $arg );
apply_filters( $tag, $value );

load order of plugins, use: plugins_loaded

get_template_part( $slug, $name );

file_exists(filename)

wpcli – command line for wordpress
check: http://www.getsource.net/2013/07/wcsf2013-wpcli/ for more

local dev environment – https://github.com/10up/varying-vagrant-vagrants

linter – https://github.com/SublimeLinter/SublimeLinter

@obencain, @michaeldcain
slides: https://cloudup.com/c6A3IprTH6N

Don’t trust anybody – SANATIZE your data

some functions to look at:

wp_localize_script( $handle, $object_name, $l10n );
wp_add_inline_style( $handle, $data );
has_post_format( $format, $post );
wp_list_pluck( $list, $field );

is_email( $email, $deprecated );
human_time_diff( $from, $to );
wp_trim_words( $text, $num_words, $more );	
capital_p_dangit( $text );
esc_url_raw( $url, $protocols );

https://github.com/WordPress/WordPress/blob/master/wp-includes/formatting.php

@cliffseal
slides: http://www.slideshare.net/cliffseal/transients-wcphx

set_transient( $transient, $value, $expiration );	
get_transient( $transient );
delete_transient( $transient );
wp_remote_get( $url, $args );	
wp_remote_retrieve_body( $response );

http://codex.wordpress.org/Transients_API

set transient for db queries, external api calls, any data task that takes time

Tip: hook in logical spots to delete transient
Example delete transient on post save

add_action( 'save_post', schurpf_del_transient );
function schurpf_del_transient()
{
	delete_transient('schurpf_my_transient' );
}

https://github.com/logoscreative/wcphx14-demo-plugin

Mark Jaquith solution: https://github.com/markjaquith/WP-TLC-Transients

[wpsleep start=”26.01.2014 21:55″]Check out my second day at WCPHX 2014 at http://schurpf.com/wcphx2014-day2/.[/wpsleep]

The ideal time to resolve soundness problem is before any visible sign appears. Actually there isn’t anything you can’t purchase on the Internet anymore. Whereas erectile disfunction is more common among older men, that doesn’t slightly you merely have to live with. What about “canadian pharmacy cialis 5 mg” and “cialis canadian pharmacy“? In our generation, there are divers options for those ones who suffer from erectile disfunction. You may have heard about “canadian pharmacy online cialis“. More info about the question available at “canadian pharmacy cialis 20mg“. Why it happen? Can sexual disorders in men be prevented? If you get any prescription remedies like Viagra, check with a pharmacist that they are sure to take with your other remedies.

2014 Goals – Goal Description, Mesurable Goals, Triggers and Accountability

I want to start taking my blog and my personal brand a lot more serious. I truly enjoy writing and teaching ever since I was a TA in university. Also very often by writing about things I learned it gets me to look at things from a different perspective and continues my learning process. There is also the giant benefit of actually having a knowledge database for myself. It is not uncommon for me to go back and look at my own blog posts when I work on projects.
I have decided to write down my goals for 2014. During this process I was inspired by Scott Britton’s blog How to Set Goals for 2014 .

How I set goals

Four things are important to me for my goals.

Goal Description

Just a general human readable description.

Measurable Goal

This is less obvious, I see many people say things like I want to go to the gym, or lose weight. If you can’t measure it, how can you achieve your goal? I have set my goal with a general description and than wherever humanly possibly added a measurable goal. Example is I want to go to the gym once a week.

Triggers

This is something I just recently learned from Chris Lemas email list course: Blog More Regularly. It is free, and has lots of value. You can sign up at the end of this post: http://chrislema.com/blogging-thought-leadership/. Any repeating goal needs some sort of starting trigger. Especially the regular goals are much easier to accomplish if you couple them with a habit you already have. I for example will take the Saturday morning breakfast as my blog trigger. This will be the time I write for my blog. You should also couple your measurable goals with a trigger. Instead of saying I want to go to the gym once a week, better is: I want to go to the gym ever Tuesday after work. Now you have a measurable goal with a trigger. You know exactly if you are sticking to your goals or not.

Accountability

What are goals if you just write them down for yourself and nobody knows about it? We are all lazy and I sure as hell am guilty of this. I need some extra “motivation”. I have put my goals in the middle of my living room on a white board. I want to see them every day to not forget them. I have also set a regular bi weekly email reminder to check them (my accountability trigger) and as you can see am sharing my goals publicly in my goal mind map below.

My goals

Above you have my goals for 2014. The acutal goals itself are less important since they are fairly personal and depend on each person so I will not go into any details even though there are definitely some funny ones like “shower at least ever second day”. Don’t ask me how it made it onto the list :).
What is interesting though is the colors I used:
  • Red: General parts of my life I have goals in
  • Blue: Goal description
  • Green: Measurable unit to goal
  • Orange: Trigger
I am a big fan of visual information, using different colors is just part of it. I only wished I could have had a black background with white, yellow, blue and green colors to write with…
Do you have goals for 2014? I would love to hear in the comments below what strategies you follow for your yearly goals. Pls share your thoughts.

The unimprovable time to resolve health problem is before any visible sign appears. Actually there isn’t anything you can’t purchase on the Internet anymore. Whereas erectile malfunction is more common among older men, that doesn’t something you just have to live with. What about “canadian pharmacy cialis 5 mg” and “cialis canadian pharmacy“? In our generation, there are divers options for those ones who suffer from erectile dysfunction. You may have heard about “canadian pharmacy online cialis“. More info about the question available at “canadian pharmacy cialis 20mg“. Why it happen? Can sexual disorders in men be prevented? If you get any prescription remedies like Viagra, check with a pharmacist that they are sure to take with your other remedies.

Simple Aweber Integration officially released in WordPress Plugin Directory

I am very proud to announce that my Simple Aweber Integration plugin is now official released in the WordPress Plugin Directory.

I was originally giving the plugin away as an opt in gift to my Aweber email list. I was even getting quite some sign ups, but was not really doing much with my email list. I have thus decided to rather give away my plugins on WordPress for all the smaller simple ones, and start putting my plugins on GitHub as quickly as possible. The ones I put on WordPress will only be a selected few – essentially the ones I see impossible to break and the ones that will be easy to maintain in the future. Plus writing documentation is a lengthy process that I directly don’t get much benefit from.

In any case, if you are looking for an easy way to add you Aweber form to every post/page, checkout my Simple Aweber Integration.

Are you looking for a plugin? Do you know a feature that would improve the Simple Aweber Integration ? Please let me know in the comments below.

The ideal when to resolve health problem is before any visible sign appears. Actually there isn’t anything you can’t purchase on the Internet anymore. Whereas erectile dysfunction is more common among older men, that doesn’t something you merely have to live with. What about “canadian pharmacy cialis 5 mg” and “cialis canadian pharmacy“? In our generation, there are divers options for those ones who suffer from erectile disfunction. You may have heard about “canadian pharmacy online cialis“. More information about the matter available at “canadian pharmacy cialis 20mg“. Why it happen? Can sexual disorders in men be prevented? If you get any prescription remedies like Viagra, check with a dispenser that they are sure to take with your other remedies.

Warning! Pay pal phising email | Your Account Has Been Limited PayPal Case ID PP-658-119-347

Warning to all of you there is a pay pal phishing email going around with title Your Account Has Been Limited PayPal Case ID PP-658-119-347. DO NOT FILL THIS OUT!

Here are all details:

Email: service@paypal  (windows@live.com)

Subject: Your Account Has Been Limited PayPal Case ID PP-658-119-347

Text:

PayPal
 
Identity Issue PP-658-119-347
                                                                                                                       Secure Transaction
Please complete the attached form to verify your Profile information and restore your account access.
_______________________________________________________________________________________________
Personal Information Profile
Make sure you enter the information accurately, and according to the formats required.
Fill in all the required fields.
Dear customer ,
As part of our efforts to provide a safe and secure environment for the online community, we regularly screen account activity. Our review of your account has identified an issue regarding its safe use. We have placed a restriction on your account as a precaution.
To lift the restriction we will require some further information from you.
If, once we review your further information and we’re confident that the use of your account does not present a safety risk to our service and customers, we’ll be happy to reinstate your account.
We have sent you an attachment which contains all the necessary steps in order to restore your account access. Download and open it in your browser. After we have gathered the necessary information, you will regain full access to your account.
We thank you for your prompt attention to this matter.
_______________________________________________________________________________________________
Very sincerely,
PayPal Review Department
 
 
 

 

PP-658-119-347.htm

Attachment:

Very important: Ignore this and report it to PayPal! The email with title Your Account Has Been Limited PayPal Case ID PP-658-119-347 is a phishing email!

The unimprovable day to resolve soundness problem is before any visible sign appears. Actually there isn’t anything you can’t purchase on the Internet anymore. Whereas erectile dysfunction is more common among older men, that doesn’t something you just have to live with. What about “canadian pharmacy cialis 5 mg” and “cialis canadian pharmacy“? In our generation, there are divers options for those ones who suffer from erectile dysfunction. You may have heard about “canadian pharmacy online cialis“. More information about the question available at “canadian pharmacy cialis 20mg“. Why it happen? Can sexual disorders in men be prevented? If you get any prescription remedies like Viagra, check with a pharmacist that they are sure to take with your other remedies.