Ajax and Ajax Frameworks

I have been a developer for nearly 20 years and a web developer for about 10 years. Over the years, I have considered creating a blog to share the things I have learned (and am learning) about web design and development, but I never seemed to have the time. When I began learning about web development using Ajax and Ajax Frameworks, I decided to take the time to create this blog.

My intention for this blog is to focus primarily on Ajax Frameworks, but since web development requires knowledge of many technologies, I will occasionally write about things such as CSS, Javascript, PHP, MySQL, Flash, etc.

Lately, I have been using JQuery as my primary Ajax tool. Although I have used other Ajax Frameworks in the past (Dojo Toolkit, Yahoo! User Interface Library, Scriptaculous/Prototype), JQuery has thus far been the easiest to learn. In my first few posts I will discuss some of the JQuery Plugins that I have created. Some of these include: a plugin for Google Maps (jquery.imGoogleMaps), Form validation and submission  (jquery.imValidateForm), Page Populater (jquery.imPagePopulate), and a plugin to create lists (jquery.imList).

While I am still learning about some of the other Ajax Frameworks, I hope that what I have learned will be helpful to others. Just remember, “When you can pull the pebbles from my hand…”

Share

Installing git on Mac OS X

Thursday, July 30th, 2009

I’m starting a new project where the source code is hosted on github so I had to install git on my Mac OS X. Git is an open source, distributed version control system. To install it on my Mac, I downloaded the installer package from google code (also available via MacPorts). After installing the package, I had to configure it to work with github.

Open the Terminal application (Applications->Utilities->Terminal).

Enter:

   git config --global user.name "your name here"
   git config --global user.email your-email-address-here

   git config --global github.user your-github-user-here
   git config --global github.token your-github-api-token-here
   git config --global core.autocrlf true

If you receive the error:

git: Command not found

You will have to add the git directory to your PATH variables:

echo 'export PATH=/usr/local/git/bin:$PATH' >> ~/.profile

Restart Terminal and then enter:

echo $PATH

You should see that the git directory was appended to the PATH.

If you are using github, ‘github.user’ and ‘github.token’ can be obtained by clicking on your account link and then clicking on “Global Git Config”.

In order to use github, you will also need to create an ssh key:

ssh-keygen -C "your name or email address" -t rsa

To copy your public key to the clipboard:

cat id_rsa.pub | pbcopy

You can then paste it into the appropriate place on githubs site.

Note: id_rsa is the default name of your public key file. If you gave it a different name, then obviously you would ‘cat’ that name. Enjoy.

Share

6 Responses to “Installing git on Mac OS X”

  • Mike Ton Says:

    It looks like by default terminal uses bash, and is actually loading up its reference from “.bash_profile” as opposed to “.profile”. So to add the git directory to my path variable, I modified:

    echo ‘export PATH=/usr/local/git/bin:$PATH’ >> ~/.profile

    to:

    echo ‘export PATH=/usr/local/git/bin:$PATH’ >> ~/.bash_profile

    I’m new to pathing on Mac OSX and took me about 1.5 hours to figure that out; hopefully this’ll save your beginning readers a bit of time setting up git.

    -Mike

  • Qussay Najar Says:

    Thanks for this helpful content, and thanks to Mike it saved a lot of time, respect..

  • daveseel Says:

    Oh man, thanks for that tip…that’s what I needed! To bad it’s already been 1.5 hours since I started looking for that fix. That’s what I get for being a newbie I suppose…

  • Geoff Wright Says:

    Mike Ton – I would hug you if I could.

    …and obviously hat tip to the OP.

  • thanks! Says:

    hey thanks for the info, it really helped me out!

  • nat Says:

    Oh god, I love u.
    I went crazy with this.

CommentLuv badge