Video: Quick Tip for Debugging AngularJS Applications

See the original posting on DZone Python

Many online demos show small AngularJS apps that are easy to
troubleshoot because you can practically memorize the code when the
examples are so small. In the real world you may face complex
applications that contain literally dozens of controllers, services, and
other components. Tracing a problem to the appropriate source code can
become more challenging. In this video I’ll show you how to…

De-registering a WordPress Custom Taxonomy

See the original posting on DZone Python

Now if you have been following my posts on custom taxonomies How To Programatically Add Terms to a WordPress Taxonomy and How To Add A Custom Taxonomy To Your Theme, you will know how to register a custom taxonomy and how to register terms for that taxonomy. However what do you do if you want to de-register a taxonomy?
Preview Text: 

You know how…

Video: Git Remotes and Tracking Branches

See the original posting on DZone Python

 Here’s a little demo video that I put together to explain
pushing/pulling with multiple remotes and how tracking branches make
this easier. It’s one of the chapters from my “Git Adventures” talk,
but it didn’t make it in to the talk in Amsterdam last week since we
chose a different adventure that time – sharing it here in case it’s
helpful to anyone else, and so I can find it later!

Readable, Succinct, or Just Plain Short?

See the original posting on DZone Python

Which is more readable?releaseVersion = version.substring(0, version.indexOf(‘-SNAPSHOT’))

orreleaseVersion = version[0..-10]

Given a value of 0.109-SNAPSHOT for version, they both give the same result. And I’m tempted by the second, because it’s shorter. But I’m going to go with the first one – not because it’s more Java-ish and I’m scared of Groovy syntax, but because it’s…

Getting Django Started on Windows 7 with Python 3 and MySQL 5.6

See the original posting on DZone Python

Django is a Python web framework library and it works on both Python 2 or 3. I will show you how to get python 3 set up in Cygwin environment.

Preview Text: 

Django is a Python web framework library and it works on both Python 2 or 3. In this article, you will learn how to get Python 3 set up in Cygwin environment and connected with MySQL 5.6. …

Resources For Writing About Programming

See the original posting on DZone Python

Today was Open Source Bridge’s unconference day. I led a session about improving our writing skills. I wanted to gather more ideas to supplement my talk and my article on “Writing an Excellent Programming Blog”. A half-dozen smart people showed up with tips and links. Here are my notes.

Some examples of unusually well-written programming books:
Preview Text: 

Using Promises in Node.js Apps

See the original posting on DZone Python

To separate logic of accessing data from the routes, we create separate modules to handle the task of data access. When I started learning Node.js, a common pattern that I saw in some samples to separate the data access logic from routing was as follows:
Preview Text: 

To separate logic of accessing data from the routes, we create separate modules…

1 71 72 73