Installing MySQL on MAC

Installing MySQL and then running is not same as you are installing and running MySQL on windows. When I first time installed MySQL on Mac I was not getting any clue how to start it. I am writing down the post to help beginners who want to set up MySQL on MAC.

Download MySQL community edition from the mysql website. Select the operating system in my case its Mac OS X. And download the DMG archive.

Read more ›

Posted in MySQL Tagged with: ,

Installing Maven on MAC OS

I am setting up my new MAC pro for Java development. As I am new to MAC, I find issues while installing and configuring JAVA_HOME variable. Finally I got the solution and I explained in my JAVA_HOME post that how to configure the variable. In this post I am going to show you how to install Maven on MAC. Read more ›

Posted in Java Tagged with: , , , , ,

How to set Java_Home variable in MAC

How to set JAVA_HOME on MAC

I shifted from Windows OS to MAC. And I face little time while installing and setting up JAVA_Home variable on the MAC. Searching multiple websites I find out that after MAC OS 10.5, Apple recommend a different way to set JAVA_HOME variable. I will mention both.

Read more ›

Posted in Java Tagged with: , ,

Setting Up Django in a Virtual Environment

In this post I am going to setup Django using Pip through command line.  And I will not use any editor like Visual Studio to create a web application in Django. In this way I will better explain the installation process of Django.  And there is no dependency on any code editor tool. You can use any code editor you like. If you are not familiar with Pip and how to setup a virtual environment, please read my post Python setup and creating virtual environment.

Lets create a virtual directory and name it “MyFristApp” by using the following command,

Read more ›

Posted in CPython, Django, Python Tagged with: , , ,

Python setup and creating virtual environment

The reason to write down this post is that I feel the Introduction to Python and Introduction to Django series I started I am using Microsoft Visual Studio as code editor. I feel that using MS Visual Studio specially for beginners like me is not a correct way to start. Specially for Python. Because MS Visual Studio no doubt a great code editor but it will do lot of things itself (like default settings, creating virtual environment), which good if you are expert but if you are trying to learn Python and Django like me then you have to first understand the basics and you should learn how to use PIP and create virtual environment.

Read more ›

Posted in CPython, Django, Python Tagged with: , , , , ,

SCALA – defining Value and Variables

In my previous post I give a brief introduction about SCALA, and show you how to write down your first program in SCALA using REPL (SCALA Command Promote). I hope you find it interesting to learn SCALA. c

Lets start with variables and core data types in SCALA. There are four terms which we need to understand before we start writing down the code. These terms are,

  1. Literal is data that directly appears in the source code. Like in my previous blog a text “Hello World”.
  2. Value is an immutable, that is a data can be assigned to a Value when it is defined but can never be reassigned.
  3. Variable is an mutable type, a value can be assigned when defining and reassign anytime later.
  4. Type is a definition of data on which we are working on.

Read more ›

Posted in SCALA Tagged with: , ,

Introduction to SCALA


You might get surprised why I am writing a blog about SCALA. Writing blog on DotNet and Python and suddenly jump to SCALA. The reason is that I get a project, which I have to complete in SCALA. As I start exploring the language I find out its quite interesting. Therefore I thought to write a series of posts to share what I am going to learn about SCALA.

Read more ›

Posted in SCALA Tagged with:

Introduction to Django – Part 3

In this post I am going to show how to create a web app with Django using Visual Studio. The default files and folder structure of Django.  I already explains some basics of Django and how to install Python tool for Visual Studio in my previous post. If you missed out please read Introduction to Django – Part 2.

Read more ›

Posted in Django Tagged with: , , , ,

Introduction to Django – Part 2

In my previous post I wrote briefly about web frameworks and Django. In this post I will give brief introduction about different IDE to develop Django application. In the Introduction to Django series I will use Visual Studio IDE for development purpose. But I will try not use to use features or code which are purely related to Visual Studio, so that if you want to use any other IDE to run the code you can easily do that.

Read more ›

Posted in Django Tagged with: , , ,

Introduction to Django

Django is a web framework written in Paython. It’s free and open source web framework, used for rapid development. The Django project website defines Django as

“Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.”

Before start exploring about the Django, lets get an idea of what is web framework. Because most of the people compare Django with WordPress or tools like WordPress. Which is not correct?

Read more ›

Posted in Django Tagged with: , ,