Wednesday, September 9, 2015

Watch: Singleton Methods in Ruby

Did you know that in Ruby you can define personal method for objects? That is, a method that only one object will respond to. Such methods are called singleton methods and it is worth knowing how to work with them. In this video we are going to discuss callbacks to observe method changes as well as differences between removing and undefining methods. The next mystery of Ruby is going to be revealed!

This is the third video of the Ruby Metaprogramming Revealed series. Learn more about Ruby metaprogramming by viewing the rest.

Loading the player...

Continue reading %Watch: Singleton Methods in Ruby%


by Ilya Bodrov-Krukowski via SitePoint

This Week in Mobile Web Development (#73)

Read this on the Web

Mobile Web Weekly September 9, 2015   #73
Brian Rinaldi recommends
7 Steps to Building a Hybrid Apple Watch App — Rob Lauer walks through the steps to build a hybrid Apple Watch app using web technologies with the Telerik Platform.
Telerik Developer Network
Holly Schinsky recommends
Is the web platform getting too big? — More thoughts on some recent posts that the web platform is being pushed too hard to emulate native and the web vs native debate in general.
Nicholas C Zakas
Holly Schinsky recommends
WebRTC Plugin Free World is Almost Here: Apple and Microsoft joining the crowd — Recent news is suggesting browser support for WebRTC without the need for plugins is coming soon.
BlogGeek.me
This issue is sponsored by PubNub
Mobile Push Notifications with iOS, Android and PhoneGap — Learn best practices for setting up GCM and APNs environments and sending mobile push notifications using PubNub's Mobile Push Gateway with Android, iOS and PhoneGap. Register for webinar
PubNub

Brian Rinaldi recommends
The Anatomy of Responsive Images — A good quick reference with examples for responsive images.
Jake Archibald
Holly Schinsky recommends
How A Hack Day Project Made Mobile Pages 6x Faster
Schibsted Tech Polska
Holly Schinsky recommends
PhoneGap Day US 2016 - Save the Date — PhoneGap Day US dates have been set and will be held in a new location. Be sure to mark your calendars and submit an entry to the call for speakers if you’re interested in speaking.
PhoneGap Blog
Brian Rinaldi recommends
Google’s ad penalties are more significant than Apple’s ad blocker — Nathaniel Mott says that, because of the ubiquity of Google search, it’s decision to penalize sites around app install interstitials, could have a much more far reaching impact than Apple’s decision to allow ad blockers.
Gigaom
Holly Schinsky recommends
Designing Web Code in a Native App — Why you should consider using web technologies for building hosted apps across platforms and devices using ManifoldJS.
SitePoint
Peter Cooper recommends
How to Test React Native Apps on a Real iPhone
Chirag Shah
Peter Cooper recommends
Mobile Pages That Are 1s Faster Experience Up to 27% Increase in Conversion Rate — A case study.
SOASTA
Brian Rinaldi recommends
The Problems with Feature Detection — The issue with feature detection is that it assumes, if a feature exists, this means that its entire API does too.
Niels Leenheer
Holly Schinsky recommends
Apache Cordova iOS 4.0.0 and WKWebView support — Find out the latest updates on the upcoming release of cordova-ios 4.0.0 and support for WKWebView.
Shazron's Blog
Job listing
Want to work on new projects? Make more money? Try a new stack? Relocate? — On Hired, we'll bring the options to you. With over 2,000 pre-screened tech companies in 10 cities in the US & UK, you'll be sure to find what you're looking for. Join Hired today.
Hired.com

Brian Rinaldi recommends
Mobile Apps Have a Short Half Life; Use Falls Sharply After First Six Months — Mobile apps achieve half their lifetime usage in the first six months.
Re/code
Brian Rinaldi recommends
Creating a Mobile App with WP-API and React Native — How to use the WP REST API plugin with WordPress as a datasource for a simple React Native mobile app.
Jeff Gould
Peter Cooper recommends
Office UI Fabric: The Front-End Framework for Building Experiences for Office and Office 365 — A responsive, mobile-first, front-end framework, for creating web experiences using the Office Design Language.
Microsoft
Holly Schinsky recommends
Amazon Mobile Ad Network Plug-in Now Available for PhoneGap — Check out the new PhoneGap plugin available for using Amazon’s mobile ad network in your hybrid apps.
PhoneGap Blog
Curated by Brian Rinaldi and Holly Schinsky for Cooper Press.
Cooper Press is located at Office 30, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or stop receiving MWW here


by via Mobile Web Weekly

Bulldog Studio

Multidisciplinary design studio based in Barcelona. This is our new portfolio.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

Build an app

A website for companies who want to build an app for there business.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

Jascha Goltermann online portfolio

I am a Berlin based graphic designer with a passion for information design! You can see my latest works and current projects here.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

Building a Dodger game clone in Unity

In this tutorial, we’ll be building a simple Dodger game in Unity. To see and play the final result, go here. Analyzing the Game Dodger is a small, simplistic game that doesn’t take much logic to program and can be customized almost endlessly. Dodger only has a few key elements of Gameplay: Player Input Player/Enemy […]

Continue reading %Building a Dodger game clone in Unity%


by Vincent Quarles via SitePoint

An Introduction into Event Loops in PHP

PHP developers are always waiting for something. Sometimes we’re waiting for requests to remote services. Sometimes we’re waiting for databases to return rows from a complex query. Wouldn’t it be great if we could do other things during all that waiting?

If you’ve written some JS, you’re probably familiar with callbacks and DOM events. And though we have callbacks in PHP, they don’t work in quite the same way. That’s thanks to a feature called the event loop.

Pfeil1105a

We’re going to look at how the event loop works, and how we can use the event loop in PHP.

We’re going to see some interesting PHP libraries. Some would consider these not yet stable enough to use in production. Some would consider the examples presented as “better to do in more mature languages”. There are good reasons to try these things. There are also good reasons to avoid these things in production. The purpose of this post is to highlight what’s possible in PHP.

Continue reading %An Introduction into Event Loops in PHP%


by Christopher Pitt via SitePoint