Object-oriented javascript: Creating objects

For a few posts we’ll talk a bit about programming javascript in such a way as to take advantage of OO principles of reuse, including encapsulation,
inheritance, and polymorphism. Javascript of course has no concept of such things as classes; therefore, we use common javascript principles in order to
take advantage of such things–even for how we define a javascript “object”.
This post in particular will focus on javascript object creation…
Continue reading

Posted in Programming | Leave a comment

Django Tutorial: Part I

Today we’re going to create a Song model, set up a few songs, and then develop our list and search functionality for our Songster application. Future tutorials will include search, add and edit functionality and more.
Continue reading

Posted in Web Dev | Leave a comment

Django Tutorial: Introduction

I’ve been using Django the past couple of months or so. Like Rails, it’s a “convention over configuration” web framework based on a popular scripting language (in this case Python). I like its flexibility and the fact that it’s easy to learn. It’s a little less “black box”-y than Rails, and as a Linux user, that’s right in my sweet spot.

I’ve decided to create a series of tutorials on the basics of Django. I can’t claim that they’re definitive, but they’re ways I’ve found to make Django work for me. They’ll be pretty basic, covering CRUD operations using a basic model. Because I’m in to music, it’ll be a song database, where you can add songs, list, search, and edit songs.
Continue reading

Posted in Web Dev | Leave a comment

Python on Android?

Love Android? And Python? Now these two great tastes taste great together, thanks to Scripting Layer for Android (SL4A). Here are some steps to get Python installed on the Android SDK emulator.
Continue reading

Posted in Programming | Leave a comment

Thoughts on PyCharm

JetBrains, the folks that bring you Intellij IDEA, have recently released PyCharm, a Python IDE. I downloaded the 30-day eval copy and thought I’d share my thoughts after using it a few hours.
Continue reading

Posted in Programming | Leave a comment

Using jQuery Ajax for Django form submission

I’ve spent some time with Django, a really cool python-based web framework. It’s similar to Rails in that it’s easy to get something up and running quickly, but I find it a little easier to understand, and a little less “black-box” as well. Before the flame wars begin, this is just my opinion and, well, I like Rails as well, simply because I love Ruby’s elegance.

Anyway, I figured out how to do Ajax form submissions so I thought I’d post a little tutorial. This uses jQuery for our javascript/ajax.
Continue reading

Posted in Web Dev | Leave a comment

10 steps to becoming an outstanding Java engineer

In my company, a lot of thought is currently being given to identifying and defining commitment areas of what it means to be a good software engineer. Each of these commitment areas would then have bullet-point expected results that the engineer would then provide evidence of meeting. Annual reviews, promotions, merit increases would thus be based on less subjective and more measurable statistics.
Sivaprasadreddy Katamreddy has an interesting article on the Dzone’s JavaLobby called “10 Steps to Become an Outstanding Java Developer” that I think inform this movement rather nicely–at least from a Java perspective. I recommend the full read, but I summarize these steps here.
Continue reading

Posted in Programming | Leave a comment