The Code Factory


Sumits Hot Yoga

Check out the latest from Anchor @ http://sumitshotyogafw.com. This is the first site I released using my flexMVC Framework. A few cool new things: brand new back-end validation system, use of constant contact API (automatic signup for newsletters on contact request – if they checked of course), and some cool JQuery/CSS effects. Check it out!


Display or Hide Loading Icon for Ajax Requests

Funny enough I have been doing this the hard way! Everytime I would go into an Ajax request I would basically say Why didn’t I just latch on to the AjaxStart and AjaxStop methods as shown here? http://nolovelust.com/post/Display-and-Hide-Ajax-loading-icon-on-every-ajax-request-with-jQuery.aspx Sometimes you overcomplicate the simplest things :)


Wearing the “Complicated Gloves”

A friend of mine, Stephen Parish, showed me an article the other day about how some developers fall into the trap of wearing the “Complicated Gloves” (see: http://thedailywtf.com/Articles/The_Complicator_0x27_s_Gloves.aspx). I would like to say that even though my philosophy is to constantly try and find better and simpler ways of doing things, I find myself at [...]


Project FlexMVC

Well so far the test framework I have been developing is going well. It’s definitely a change in how I am used to doing things (way more things are now static), but I have to admit it’s coming along really well! The project codename is FlexMVC and my goal is to create a framework that [...]


Introducing the next level of my MVC

I am in development of a completely new framework yet again. This time around it’s extremely flexible and also packs something brand new. Allow me to explain in simple terms why I felt the need to create something new. Here was the problem: self::$Libs->Validate->test(); Here’s what I want to see: Libs/Validate::test(); You see how much [...]


Cheers Blogger, Hello WordPress!

I used to have a blog with Blogger; however as the more I involve myself in code, Skyrim, and Pie Five Pizza, I have realized that I needed a one-stop solution for my site, Blog, and everything else of the like. A few of my company’s clients have also been requesting WordPress sites and I [...]


Multiple Controllers, Multiple Views, Go MVC!

So it took exactly one year of writing and developing a framework to finally achieve one of my most desired goals: Controllers in your controllers, and Views in your Views – you know so you can put that view in your view and your… Yes you get the point, or perhaps you don’t. Allow me [...]


Using MVC and need a WordPress Blog?

Well that’s simple, literally. I could point you in many different articles that give a very complex solution on how to place a blog into the site keeping the mod_rewrite engine on…But why would you keep it on when you could just say:”RewriteEngine Off” in your .htaccess file for your blog folder.Presto. WordPress installation inside [...]


The Battle Continues of the MVC Single Page App

Today something just clicked. My post before I was on my way to something, but it wasn’t a clear path. I spent many hours and many times revisiting my code to make my life just a bit easier. Well, as it turned out the idea of having models in my JavaScript that simply were an [...]


Battling the Single Page Application.

I have been striving to create some structure in the world of developing single page applications using JQuery, PHP, and MySQL. What I have come to the realization is seeing this in my editor: “documents.js” | “documents.js” | “documents.php” | “documents.php” | “documents.php” I’m not sure how I feel about this haha, but for my structure [...]


The Devilish IE8/IE7 FadeOut of blackness

So i’ve been having this issue for quite some time dealing with how to properly fade in and out elements on IE7/IE8. The issue has been that anything I fadeout it basically has this nasty black border that comes along with it. I use the JQuery library and I have seen many people complain about [...]


JamTube! JQuery and CSS3 Youtube Music Player

JamTube is now ready and rockin’! The idea is simple: I wanted to create a way to generate a youtube playlist while I browsed or surfed the web. Since I was using Linux based computer with no ITunes, I would always go from one video to another on YouTube just listening to tracks. Now, although [...]


MikeSpace

Well my latest project came to a wonderful close tonight as I finished just a few routines to get the project started. For those who don’t know, I have taken the initiative to create a social networking site very similar to MySpace (minus all the flash music players and such). My ultimate goal is a [...]


Zip Code Calculations

In today’s programming session, I wanted to develop a technique in which you could calculate the distance between 2 zip codes using Longitude and Latitude. Here’s the basic formula that I researched: distance_lat = 69.1*(lat_2-lat_1); distance_long = 69.1*(long_2-long_1)*cos(lat_1/57.3); distance = sqrt((distance_lat^2)+(distance_long^2)); This basically converts the distance between the two zip codes in miles. Since I [...]



From The Blog
Sumits Hot Yoga

Check out the latest from Anchor @ http://sumitshotyogafw.com. This is the first site I released using my flexMVC Framework. A few cool new things:...

Display or Hide Loading Icon for Ajax Requests

Funny enough I have been doing this the hard way! Everytime I would go into an Ajax request I would basically say

// Before the...
Wearing the “Complicated Gloves”

A friend of mine, Stephen Parish, showed me an article the other day about how some developers fall into the trap of wearing the...

Project FlexMVC

Well so far the test framework I have been developing is going well. It’s definitely a change in how I am used to doing...

Introducing the next level of my MVC

I am in development of a completely new framework yet again. This time around it’s extremely flexible and also packs something brand new. Allow...

Cheers Blogger, Hello WordPress!

I used to have a blog with Blogger; however as the more I involve myself in code, Skyrim, and Pie Five Pizza, I have...