Category: Tutorials Articles
BACK
Jul 30 2012 12:00 PM JUL 30 2012 12:00 PM

JavaScript ThreadingProcessing large amounts of data in HTML using Javascript

HTML | Javascript | Websites | Tutorials

Ever ran into the lovely "Unresponsive script" error in your browser? This comes from several issues. 

  1. The persons running out of memory on their machine and the browser is taking longer than expect.
  2. The script that was created is doing to much and needs to be broken up.

In this article I will explain how to get around this and provide a method I developed for a recent project I am working on for ShoreGroup.


Read More
Apr 12 2012 8:00 AM APR 12 2012 8:00 AM

DHCP ReservationsLocal Static IP Addresses

Tutorials

DHCP Reservations is saving an IP address that goes along with a Mac Address. Making the device have a static IP on your network. This can be done by using your Router and going under a section by the heading "DHCP Reservation." Mine happened to look like:

It was also on the first page loaded up on my routers configuration page. I have a Cisco E3000 router.

My issue lately has been I use my local network for all sorts of things.

  1. Work 
  2. Web Server
  3. Running a VM of a product I work on for Shore Group.
  4. Streaming Video
  5. Internet 
  6. And so on!

I have a total of 3 machines running to work and do at lease 3-4 of the above. My Mac Mini does basically all of that above. It has a VirtualBox running Ubuntu for the product I am working on for ShoreGroup that has its own IP address. This needing to be available to the outside world for testing. (Its not running on port 80!!!) I also use an additional two labtops to develop on and rsync between the two often. 


Read More
Sep 11 2011 2:00 AM SEP 11 2011 2:00 AM

Development TheoriesUI Testing all guessing?

Tutorials | Websites

Something I have been saying for a long time now is how the Web World is a guessing game. The same thing can be applied to many other occupations. Facebook, Twitter, and so many other "start ups" that have succeeded in becoming a house hold name in the beginning had no idea if they would be viral.

Facebook had a humble beginning that lead to a insanely addicting social network that allows you to connect with everyone you know and their trash cans. Twitter provides us with a 140 characters or less thoughts. Which is nice as Facebook friends to give us WAY to many details about their lives.

Suddenly with these two start ups they created a new fad. Status updates!

What does this all mean? Basically they chimed in on what they thought to be a "hole" in the market. This hole they filled or rather created.


Read More
Sep 2 2011 12:04 PM SEP 2 2011 12:04 PM

PHP htmlentitieshtmlentities with input text boxes

PHP | Tutorials

Ever had issues with putting HTML inside of HTML text boxes? This can be a pain as often times you will find different browsers will read it fine, but then some will break it.

In PHP there is a wonderful function called "htmlentities."


Read More
Aug 19 2011 11:31 AM AUG 19 2011 11:31 AM

PHP Stripping Certain Characters.Remove everything but Alphanumeric, spaces, dashes, and underscores.

HTML | PHP | Tutorials

Filtering inputs is often a huge issue when figuring out which method is best. Typicallly its a matter of what exactly are your needs. Asking these few questions can resolve the problem.

  1. Is the input needing more than letters a-z and 0-9?
  2. Does the input need to be able to allow some tags but not others?
  3. Can you filter everything out and not worry about what it returns?
  4. Can you convert html characters to their entities so it still displays properly?

Read More
Aug 7 2011 1:00 PM AUG 7 2011 1:00 PM

New Site!

CSS | HTML | Javascript | PHP | JQuery | HTML5 | MySQL | Custom Frame Work | Categories | Tutorials | Games | Movies | Imagemagick | XML | Unix

Finally I have recreated my website. It is using a content system I created from the ground up. I will be writing more on this system in the future. A small list of features this system can do:

  • Manage Multiple Sites in one.
  • Member Registration
  • Banners
  • Page Control / SEO
  • And so much more...

Read More

Tweets

Social Media

Categories