Articles in the programming category

  1. Subversion: Revert to Earlier Version

    Posted on in Programming

    This is one of those annoying little things I have to do ever so often. There are two different commands to accomplish this task depending on the specific situation.

    If you've made a lot of changes to a file and need to back all of those changes out, you can …

  2. No such table: django_admin_log

    Posted on in Programming

    If you get this error when trying to save something in the Django admin, it's probably because you forgot to synchronize the database after adding the admin application. If you are using a pre-1.2 version of Django, you can simply:

    $ ./managy.py syncdb
    

    Django 1.2 (which is currently …

  3. Sorting dictionary keys in Python

    Posted on in Programming

    For some reason, sorting a dictionary by its keys seems to be one of the most frequently asked Python questions. I'm not sure if this is because it's just much easier to do in other languages, or if the semantics of the language just confuse new Python developers. I guess …

  4. Suggest Tags WordPress Plugin

    Posted on in Programming

    Fomenteu la lectura\<br /> Photograph by Marc Garrido i PuigFor the last couple of years, I've used the Tag Suggest Thing WordPress plugin to recommend tags for my posts based on the post content. Beginning with WordPress 2.5, that plugin started to have problems interacting with the WordPress administration pages. In August 2009, Yahoo! announced that they would …

  5. Spreadsheets to Databases: Exporting and Importing

    Posted on in Programming

    In the early stages of an organization, it is common for most data to be stored in spreadsheets. Spreadsheet applications are common and easily understood by most small business people. Unfortunately, spreadsheets become burdensome when tasks move beyond calculations and into querying (Churcher, 2007). Fortunately, databases are designed with querying …

  6. Getting Ready to Repackage

    Posted on in Programming

    Hard Disk (Internal)Having built an entire application, the time has come to consider the possibility of redistributing the application for a wider audience. Since the original application was designed to meet the needs of a specific business, one of the primary considerations will be how the application must be modified to meet …

  7. Database Basics

    Posted on in Programming

    The widespread use of computers has made database interaction a daily occurrence. Although databases can be large and complex, they are generally defined by basic terms that come together to create the larger system. Understanding these database basics helps users understand the underlying structure of the system and how they …

  8. The Joy of Modularization

    Posted on in Programming

    orbitModern programs are not developed as singular, autonomous applications. Programmers have learned that many different programs use the same routines over and over again. By developing these routines as independent modules or libraries, programmers gain the advantage of quickly adding functionality to their programs. Modularization allows the detail of often-repeated …

  9. Decision and Loop Structures

    Posted on in Programming

    Decision structures (also known as selection structures) are used in programming to take an action based on the result of a question (Farrell, 2008). An if-then-else statement is the most basic kind of decision structure. The question is represented as a Boolean expression that results in a true or false …

  10. Referential Integrity and Business Rules

    Posted on in Programming

    Referential Integrity and Business Rules Referential integrity and business rules are two subjects that individuals new to database design find confusing. Relational databases use tables to represent things and events. It is often necessary for a table to refer to another table. In this case, the two tables have a relationship. Referential integrity ensures that …

  11. Database Speak

    Posted on in Programming

    For those not acquainted with the vernacular of relational databases, many frequently used terms can be hard to grasp. These terms are often difficult to comprehend, but the concepts they describe can be illustrated in plain English. When a database administrator or developer is working with someone not fluent in …

  12. Build vs. Buy

    Posted on in Programming

    Round like a circleWhen planning for a new application, all organizations are faced with deciding whether to develop the application in-house or purchasing an off-the-shelf software package. Developing the application in-house has the benefit of ensuring the application is custom-fit to the organization's needs. Unfortunately, this custom-fit may result in an application that …

  13. Software Development Life Cycle

    Posted on in Programming

    "Cycle on Fort Wall" Like many other kinds of businesses, a landscaping business needs a billing system. As is often the case, billing systems require an incredible level of customization thanks to the various intricacies of most companies' pricing structures. Designing a billing system to fit the specific needs of an individual organization is …

Slaptijack's Koding Kraken