May 2013
3 posts
April 2013
1 post
3 tags
Real forms with jQuery
Source: http://stackoverflow.com/questions/7945848/submit-a-form-without-refreshing-redirecting-of-the-current-page-python-django the link above also comes with a jsfiddle with code.
So since i’ve done ‘false forms’ with jQuery i figured i would cover what i think is the right way to forms with jQuery and AJAX. Below you can see a form, nothing to exciting, it just excludes...
3 tags
False form with Jquery
Something that i find my self constantly dealing with on newer websites is submitting data with AJAX but not wanting to handle some of the headache <form>’s bring with the action attribute. In a case like this i use a ‘false form’ A false form is something that the use still interacts with like a form, and it still behaves like a form, but it’s markup isn’t in...
2 tags
Validation with PHP & Laravel
In the past couple of months i’ve been exclusively using the PHP framework Laravel. Laravel is often called the ‘Rails’ of the PHP world. Keeping the same theme as my last blog post, lets do some sort of validation with PHP and Laravel.
In the example below i’ll be accepting an email from the global POST variable, validating that it is in fact an email address, ensuring...
February 2013
1 post
2 tags
Validation With the Map JavaScript function.
I was introduced to the Map function recently when browsing /r/DailyProgrammer for easy programming challenges. The challenge at hand required us to create a change calculator by accepting an array of decimal and non-decimal number. This is where the Map function comes in.
The Map function allows us to, as quoted by the MDN, “[it provides] a callback function once for each element in an...
September 2012
6 posts
UNIX
Configuring something via the commas line has to be one of the most terrifying things since I’m coming from using Windows and Mac Os X.
Although this is pretty cool.
I’m currently configuring an Ldap server to handle authenticates log ons.
Workouts and sick.
Working out have to be the best feeling while your sick. I always manage to feel awesome after a work out if I’m sick. It clears out my nose and makes me not feel like a slob.
Google Civil API
This new API from google allows developers to create webpages / sites around elections. I think i might toy with this during my summer break. I would be really interested in making a web page that showed voting information for the persons location.
The political activist in me feels like this could be pretty cool.