Your browser (Internet Explorer 7 or lower) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.

X

Navigate / search

Do You Code For Yourself?

Do you ever code for yourself? To solve your own problems?

A lot of satisfaction comes out of being able to solve your own problems when it comes to software.

 

The real world doesn’t allow you to create matter out of thin air, move things from one place to another with no effort. If you have a backache you must go to the pharmacist and get medicine.

 

If you know how to create software, you can scratch your own itches. If you can’t afford a particular software but have plenty of time, you can sit down and create it on your own. Theoretically. You may not be able to create your own Microsoft Word 2007 but this works for many real world problems.

 

WP Responder is one such itch that I had. I couldn’t buy Aweber’s services because it either costed too much or because they didn’t have a subscribe via PayPal option. Just then I graduated from college and had a lot of time on my hands. I got to work on creating a wordpress plugin that will both deliver blog posts and allow me to have a email newsletter.

 

I needed to create a membership site without spending $180s on a software like Amember. I went to work on Drupal and found the exact set of modules and their configurations that will let me create a paid membership website with unlimited levels.

 

There will come a time when trying to solve your own problem will start to cost more than buying a readymade solution. Until you get there leverage your programming skills to solve your own problems and get to the next level of financial independence.

WP Responder v2.0 Will Be Released On 21th November

The next version of WP Responder will be released on 21st of November. In the upcoming release:

  • Images in HTML emails can be attached as part of an email instead to overcome image blocking features in many mail clients and webmail providers.
  • Some bugs in the post skipping has been resolved.
  • A chicklet can be added to your sidebar that shows your current subscriber count.
  • Hourly e-mail sending limits can be configured to avoid violating email policies of web hosts

I have been receiving emails from many readers regarding this plugin. Looks like I was not alone in needing something like this :)

 

I have been trying to get this release out quickly but my work has been making it hard to find time for it. If you’ve been reading this site recently, you will have noticed some major changes in the design as well as some bloopers here and there in the content as well. I am revamping the website to cater to a much larger audience.

 

Major Changes

I have decided to make ExpeditionPost to be about more than just developing websites and programming. I am going to write about my experience creating a self-funded business here. I believe this will be of value to many, especially to readers from India.

 

Hang on tight!

Flex Tutorial: A Quick Course On Actionscript

In the previous chapter we discussed the steps involved in creating flex application. This lesson will discuss actionscript syntax. Actionscript was created by Adobe for their Flash IDE to control 2D animations in flash. The actionscript syntax is very similar to that of Javascript. So if you know Javascript 80% of actionscript you know most of actionscript’s syntax.

In this article I will go into the additional features that are supported by Actionscript.

Variable Declarations

Syntax:

var  variableName;

Sample:

var sample_var = 1;

Variable name rules: Name should not contain spaces, cannot be reserved actionscript keywords like if, for, do, while.

Strings

Strings are assigned to variables using a single quote or double quote.

var name = ‘raj’;
var anothername=”raj”;

Booleans

Booleans are assigned to either true or false. The words are lowercase and are reserved keywords.

var isAMonkey = true;

Strict Data Typing

Although variables are loosely typed it is possible to specify a type for your variables in Actionscript. This is also called variable type annotation. The following statement declares a variable of type Number. You can specify annotations for your own data type declarations also.

var mileage:Number=20;

var Ferrari:Car;

Functions

Functions are defined with the same syntax as Javascript. But actionscript supports specifying return type through type annotations similar to variable type annotations. Shown below are some sample declarations

function findInterest(principal,interest,time):number
{
…
}

Anonymous functions

An anonymous function is the same as normal functions but it is defined similar to declaring a variable.

var testFunction = function() {

doSomethin();

}

testFunction();

The difference is that anonymous functions should be fully defined before being executed but normal functions will get mapped to their definitions even if the definition falls after the part where the function is called.

Flow control and looping

Actionscript supports all the looping constructs that Javascript does:

While loops

while (expression)

{

//do something

}

For Loops

var y:Number=1;
for (var x:Number = 1; x <=5; x++)
{
     y=y*x;
}

Classes And Objects

Actionscript supports classes in a way similar to Javascript. Instead of relying on the function keyword to define functions, actionscript uses the following syntax:

Class Classname
{
   private var varName;
   public function funcName()
   {
   }

}

Here public and private are access specifiers. The first definition within the class is a class attribute. The second is a class method. Instantiating an object:

var newObj = new  ClassName();

If you are familiar with Java you will find actionscript’s syntax of defining classes very similar.

Packages

Packages are used to group related classes together.

package packageName
{

//class definitions

}

Static variables

Static variables are attributes that are defined as part of the class. These variables are not unique to each variable like instance variables. They are accessed by referencing the classname.

class ActionscriptBook
{
 public static pages:Number = 322;
}
var pages = ActionscriptBook.pages;

Getters and Setters

Actionscript supports creating getter and setter functions that control access to class variables.

class  Box {
private var side:Number;
public function get theSide():Number
 {
 return side;
 }
 public function set theSide(theNum:Number):Number
{
 side=theNum;
}
}

In this chapter we have learnt the basic actionscript syntax. In the next chapter, we will learn how to use the various components and how to place them within containers.

Flex Course: Getting Started Writing Flex Applications

In the previous lesson we briefly discussed creating a flex application. In this lesson I will discuss how to create a flex application and walk you through the process of creating one.

Most tutorials and books teach Flex on the assumption that you are going to use Flex Builder to write your flex applications. I prefer to think you will use your own IDE. Therefore, we will focus on making flex UIs using simple text editors like Notepad or TextMate.

Read more

Amazing User Interfaces With Flex – 11 Part Post Series

Creating easy to use user interfaces such as forms is not easy. Creating a easy to use interfaces always means providing features that are available in a desktop user interface. Until now this has been very laborious and difficult to maintain. With Adobe Flex you can create amazing user interfaces with minimal code.

By the end of this post series, you will be able to create amazing user interfaces your clients will love you for and do it in less time than it takes to create them with HTML and Javascript.

How to Customize the Syndicate Feed Icon Block in Drupal

Now a days many blogs have a widget on their right/left sidebar inviting users to subscribe to your blog. Making this a part of the theme traditionally involved creating a block module or going into the admin panel to create the block manually. These are tasks that you may not want to do when you are distributing your theme. This post shows you how to customize the syndicate block so that you can show all relevant subscription options on your theme without the theme user needing to change any code or do any configuration.

Guest Post On BuildInternet : Four Ways To Make Equal Height Columns

One of the most difficult tasks when moving from table based layouts to css based layouts is creating equal height columns. Many newcomers to web design will find these frustrating to create.

I’ve written a guest post at one of my favourite web development blogs – BuildInternet on how to create just that. The article discusses four methods to create equal height column layouts in HTML/CSS. I’m very excited about this article because this is my first guest post on another blog. I will be making many others like this. Please take a look:

Four Methods to Create Equal Height Columns