Topics - Codebyte [ switch to compact view ]

Pages: [1] 2 3 4 5 6next
1
#include <hello_world.h>

Link to Page: http://codebyter.com/2010/10/30/php-street-validation-commercial-or-residential/

I have been working on a PHP script to supply the answer to whether an address is classified as “residential” or “commercial.” Originally, I started designing scripts around UPS’s validation services. That’s where I went wrong.

UPS offers two types of address validation web services (both XML-based). The first is an Address Validation (AV) tool, which allows you to use their web service to determine whether or not an address is valid by supplying city, state, and zip. To my knowledge, the AV web service only works for U.S. addresses. The second service is XAV, street level address validation, which allows you to query their servers for address validations, given the address supplied exists within New York or California. Thats great and all, but what about the rest of the country?

To prevent some poor individual from going through the same headaches as I went through, and for the general purpose of building my code collection, I have uploaded the UPS address validation script for you to check out along with the FedEx street level address validation script.

Needless to say, after spending further time researching, I have concluded that FedEx currently has the best street validation web service. FedEx’s version of address validation provides the following features:

    * Provides street-level matches
    * Contains a growing database of company listings to improve your results (not all companies are currently
      listed)
    * Receives monthly updates to its address database
    * Checks addresses within the U.S., Puerto Rico, and Canada.
    * Distinguishes between business and residential addresses in the U.S. if an exact match is found
    * Is Coding Accuracy Support System (CASS)-certified (a service and rating system for mailers that measures and helps to improve address accuracy)
    * Checks up to 100 addresses in one Web Service request

Enough said.

I just wanted to repost my thoughts about this and share some code with the world. Maybe it will save you some frustrations. If you found this helpful, all I ask is that you leave me a comment on my site :) Enjoy!

2
Today, I stumbled across this rare gem. It's a website called Kodingen. They support free web hosting for web developers. They offer support for PHP and everything. You sign up, create your account and BAM. instant FTP access from web based stuff AND your desktop ftp client... It's sick. I might consider switching my web service to them for hosting once I feel better about centralizing my ftp credentials and checking to see how they do things, etc. Check it out:

http://kodingen.com/

Make sure you watch the screen cast. It's amazing.

I modified the title for a more eye-catching note in hopes of inspiring conversation about this amazing service.

3
N.A.N.Y. 2011 / NANY 2011 Withdrawn: ProtoCards
« on: October 01, 2010, 03:51 PM »
Mouser, myself and possibly a few others will be pledging for this year's NANY event. We will be writing a generic browser-based board/card game table system. We will be releasing more details concerning this project in the coming days/weeks. We plan to release our project for NANY and then ask YOU for as much feedback and participation as possible to help us prepare it for entering in this years 1st Ever Mozilla Gaming Labs Competition. The competition is located here: http://gaming.mozillalabs.com in case you have not had the chance to check it out.

Stay tuned for more updates!

Relevant Links:
https://www.donationcoder.com/forum/index.php?topic=21494.0
http://www.codebyter.com - I'll be blogging here about my experiences with the project if you want to stay up to date.
https://www.donationcoder.com/forum/index.php?topic=24147.0 - Post by Lashiec for Mozilla Labs Gaming

4
FARR Plugins and Aliases / [IDEA] FARR Plugin: FARRDevelopersBible
« on: April 27, 2010, 09:28 AM »
Project Name: FARRDevelopersBible
Project Codename: FARRDB

Project Description:
FARRDB will allow developers to enable FARR with an offline developers "bible" that contains descriptions of functions for each language. This allows FARR to quickly search the developers "bible" using a syntax like "fdb php explode". After typing this expression, FARR will search its dev. bible for php functions, find explode, and return a beautiful description of how to use the explode() function, its parameters, a few examples of explode()'s common usage, etc. (Note: explode() is just an example.) When a user types the expression and then hits enter after viewing its usage, FARR adds an example to the clipboard so we can paste it into place and modify as needed.

Reasoning:
I cannot begin to tell you how annoying it is to waste a browser tab to php.net or some other web source. This plugin would be ideal for developers of any age or experience as we all forget syntax every now and then, especially when switching languages on the go (javascript and php are very close.) I was looking for something like this on DC and found FARRWebMetaSearch. While FARRWebMetaSearch is a great idea, the purpose of this plugin is to use an offline version to eliminate the requirement of internet access. Syntax doesnt change, internet access does.

Parts:
This plugin is a HUGE project as it contains several parts: the FARR plugin that handles searching and reading the individual developer "bibles," the actual developer "bibles" themselves and the example usages for functions.

This plugin would be EXTREMELY popular in my honest opinion. It will add alot more functionality to FARR (as if FARR doesn't already have enough functionality - thanks mouser :))

Note: It's probably a good idea to let this post age into maturity before developing this plugin. The reason I am posting this idea and not coding it is due to the fact that I am extremely busy with my web development and side projects as it is, I wouldnt be able to take on another project for awhile.

Please post your ideas for this plugin so we can formulate, as a community, what would be the best way to approach the project, what features to add, and who would be up for coding it :)

Updates:
- [Change] Made FARRWebMetaSearch a link in 'Reasoning.'

5
Developer's Corner / PHP GD Library
« on: February 18, 2010, 01:15 PM »
So question for all you PHP coders out there... I've been writing a class to deal with image manipulations, such as adding watermarks to images etc... Is there anyway to speed up the image load process? I understand this is a very generic question, but i'm hoping it sparks the conversation im looking for :) Thanks for your time!

Pages: [1] 2 3 4 5 6next
Go to full version