WordPress #DevDay Talk

Many thanks go out to everyone who attended and gave a good listen. I hope I got the basics across so that you understand the benefits of using these new JavaScript frameworks.

A couple of resources that you may find useful:

If Twitter is your thing, then definitely follow @trek, @tomdale, @ryanflorence, @ebryn for Ember love. There’s an Austin Ember meetup too, you can find info on their twitter account.

If you’re curious about testing in Ember, I’m currently going through the Ember in Action book which goes into testing with PhantomJS and QUnit. The discussion around the testing chapter is here.

Lastly, don’t be afraid. Yes you’ll likely be going outside of your comfort level, and you won’t pick these things up overnight. But there are so many benefits to even just understanding the basics. Even if you’re coming from knowing very minimal JavaScript, you can and should start reading up on Backbone or Ember. Both Ember and JavaScript really enforce good coding practices that WordPress (core aside) developers really just don’t adhere to. Even if you don’t think JavaScript frameworks are your thing, I encourage you to go out and learn more outside of WordPress.

Thanks again to all attendees and sponsors. I had a great time and met some fantastic people!

Women, Men, and Equality

Let me try and put this in terms programmers will understand.

This is wrong
men == women

Trying to set women as men, or men as women is wrong
men = women
women = men

We all know that
men != women

But the following is not true
men < women

The same way this is not true
men > women

This is all that we know
women.is_people? == man.is_people?

So everyone needs to chill the f out and start loving each other as human beings.

SCSS For Creating Bordered, Circled Images

I’ve created these with the parent element being the rounded element, while the child element(s) are hidden due to the overflow on the parent element. I did this so I could nest multiple elements (e.g. an image and then a hover icon)

The Emberjs App That Never Was

So about that app that I wrote about almost a month ago…

Suffice to say that enough has gone in the past month that I haven’t been able to work on it at all. This isn’t complaining about not having enough time in the day, this is more that Emberjs has been hard as fuck to pick up. Part of the reason is that the framework is changing so much. Tutorials and screencasts done even a month ago are now dated and contain broken code.

But I have been learning. It’s a tedious process. The peepcode screencast released a couple weeks back is pretty good once you have a basic understanding of Ember. Other resources that have been super helpful have been darthdeus and Toran Billups. The Emberjs docs are coming along, but are still difficult to digest for someone picking it up (IMO).

Will all this be beneficial? Yes. Learning new code is the only way I can stay fresh. Gives new perspective on different problems and makes me a better developer. Will I be able to develop an app anytime soon in Ember? We’ll see. Learning Rails I was able to throw together a working prototype of a Basecamp-like app within a month. Ember’s a little different, so I’ll just have to exercise some patience.

Set Ember Data Adapter URL

If you’re working on an Emberjs App, and you want your Store to make a request to a different URL (e.g. Firebase), set the url property in DS.RESTAdapter

WordPress hosting by WPEngine