How To Install Pip – Python Package Manager

I want to help you know how to install pip – an alternative package manager for python. One interesting fact is that the process of installing pip is very similar to that of installing easy_install which  I did a few days ago. I know how frustrating it can be and that is why I want to save you some time! Without much ado, let us see how to install pip, shall we?

Simple steps on how to install pip

1)You will need setuptools before moving on:

Here is why I say that you need setuptools installed and don’t worry, I will show you everything you need.

How To Build a Blog Using Google App Engine

Hello there! I have been busy creating videos for both Google Maps APIs and most recently building a blog from scratch using Google App Engine – which is free and awesome. I am going to shorten the length of this post that way, I save you some time to watch some of the videos which are also available on YouTube.

How to build a blog using Google App Engine – Setup

This video shows you how to set up the environment on your computer and includes downloading and installing both Python27 and Google App Engine: Ejoy!

Moving Out of WordPress

Hi! Thanks for stopping by. Today, I decided to migrate my blog from WordPress to a self-hosted  domain : I was lucky enough to find www.simpledeveloper.com available and so I grabbed it and ran away!.

moving-my-blog-to-a-new-host

When I realized that I could do more outside WordPress, I decided to take the risk. I am still using WordPress as a blogging platform. What I changed is where my blog is hosted. One other important thing is that I don’t have to type .wordpress when visiting my site anymore! Now a few takeaways:

Programming With Google Maps APIs – Part VI

Hello! Nice to see you and thanks for stopping by. In the last two days I took a detour from programming but today I am going to pick up from where I left Google Maps APIs – Part V . Today’s post will be relatively shorter than previous ones because I am completing a section (at the end, I will give an app idea). Let us get to it. We should start with our previous finishing code:

[javascript]
(function () {
window.onload = function () {
var mapDiv =  document.getElementById(‘map’);

var options = {
zoom: 3,
center: new google.maps.LatLng(37.09, -95.71),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(mapDiv, options);

The Big Questions That I ask Myself

Hello! I have decided to step a side today and post something outside programming. I have always fought the urges to act robotic by reminding myself that after all is said and done, I am indeed, a human being who has questions. I laugh really hard when tickled. I cry when hurt. I bleed when pricked. Most often, my questions never get answered.

life-big-questions

Today some people are celebrating Easter – and so “Happy Easter”. I say ‘some’ because there are those who don’t do it.

Programming With Google Maps APIs – Part V

Hello! I am back to show you how to add Google maps markers to your map. At the end of my fourth Google Maps APIs  post, I mentioned in passing that I will be starting with Markers today and that is exactly where I will start. To make things fun, here is what a marker looks like – you have probably seen one if you have used a map before!

how to program with google maps api marker

There you have it! So a marker is a small image that is positioned at a specific place on a map. Now we can figure out how to add it to our own map. We will start with a basic code for our map.

Programming With Google Maps APIs – Part III

Hello! Thanks for stopping by. I didn’t post anything yesterday because I was asked to read and review an AngularJS Starter book which ended up taking all my time. It was a good experience because I learned some new stuff. That being said, today, I am going to continue with our Google Maps APIs series. My last post  ended with the code below and so let us pick up from there:

[javascript]
(function () {
window.onload = function () {
var mapDiv = document.getElementById(‘map’);
var latlng = new google.maps.LatLng(37.09, -95.71);

Programming With Google Maps APIs – Part II

Hi! First of all, thank you for stopping by. It gives me strength to keep sharing what I like because I know it is all worth the effort. That being said, today, I am going to expand on what I did on Google Maps API part I by adding more features to our map. Last time, our map.js file has the following code:

[javascript]
(function () {
window.onload = function () {
var mapDiv = document.getElementById(‘map’);
var latlng = new google.maps.LatLng(37.09, -95.71);

var options = {
center: latlng,
zoom: 4,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(mapDiv, options);
};
})();
[/javascript]

Writing Your Own Functions – PHP

Functions exist in most programming languages and they separate code that performs a single well-defined task. This makes it easier to read and reuse the code. A function is a self-contained module of code that prescribes a calling interface, performs some task and optionally returns a result.

There are several reasons to write your own functions in PHP; for instance if you want to perform a task that other built-in functions cannot help you do. Let us quickly look at an example of a function call before we do function definition.

[php]
<?php
#call a function in php
function_name();

Regular Expressions – Data Validation In PHP

Hi! I am back from a serious headache and today am going to talk about regular expressions. The idea is to validate data submitted by the users of our online store. This will help us stop taking in invalid emails, or stuff like that. Also, using a new page created for feedback submission, we would like to send the message to respective departments depending on which  words our customers mention in their messages. Let us get started.

Here is my feedback page:

feedbackone