Archive for the 'Programming' Category
Here you will find a list of PHP: Classes and Objects that I have used in my programs that I have found to be really usefull. This blog entry has been posted for future, personal reference.
Resize Images in PHP – is an Image Mainpulation class that allows you to easily rotate, crop, crop from center, reflection, resize percentage, remote image resize, save image as a different format, resize adaptive. This is a class written by phpthumb.gxdlabs.com. You can download it from their website, if that doesn’t work, download it from my webiste by clicking here.
Search and Replace Files using PHP – Finds and Replaces text searched for all files within a directory. This class is amazing, simple to use and fast. It was written by Razzaque Rupom. You can download the original files from phpclasses.org., if that doesn’t work, download it from my website by clicking here
.
Example: array[key1][key2] → array[key2][key1]
This function takes a two dimensional array[x][y], swaps the first key with the second key so the values can be referenced using array[y][x]. It was also added as a user contributed note to the PHP: Array Manual on php.net’s website on October 10, 2009.
[php]
#
function array_two_key_swap( $two_dimensional_array ) {
/*
Writen by: Leonardo Martinez
Contact: http://www.leonardomartinez.com/contact/
Created: 10-10-2009
Modified: 10-15-2009
This function takes a two dimensional array[x][y], swaps the first
key with the second key so the values can be referenced using array[y][x].
Example:
samplearray['directiory'][0] = "myicons";
samplearray['directiory'][1] = "myicons";
samplearray['directiory'][2] = "myiconsold";
samplearray['directiory'][3] = "myiconsold";
samplearray['filename'][0] = "hat.png";
samplearray['filename'][1] = "dog.png";
samplearray['filename'][2] = "mice.png";
samplearray['filename'][3] = "rat.png";
The above array converts to:
newarray[0]['filename'] = "hat.png";
newarray[0]['directiory'] = "myicons";
newarray[1]['filename'] = "dog.png";
newarray[1]['directiory'] = "myicons";
newarray[2]['filename'] = "mice.png";
newarray[2]['directiory'] = "myiconsold";
newarray[3]['filename'] = "rat.png";
newarray[3]['directiory'] = "myiconsold";
*/
$keys = array_keys( $two_dimensional_array );
$array_swaped = array();
foreach( $two_dimensional_array[$keys[0]] as $key_counter => $value1 ) {
$temp_array = array();
foreach( $keys as $key) {
$temp_array[$key] = $two_dimensional_array[$key][$key_counter];
}
$array_swaped[] = $temp_array;
}
return $array_swaped;
}
[/php]
searchvacationrental.com, Miami, Florida (July 2009)
Webstie Development (Joomla, PHP, MySQL)
- Search Vacation Rental is an online vacation rental website. It allows rental owners and management companies the ability to showcase their vacation rental property on the web.
- This website took approximately 1 year to develop by using a combination of open-source applications, including Joomla, FunsionMaps, Light-box, Google Maps, Google Analytics and AEC Backup.
- Allows for comprehensive backend management for both the Administrators and Property Owners. The administrator has the ability manage subscriptions and offer different plans to it’s subscribers. Each plan can control the cost, subscription period, and time that it will be available. The owners have the ablity to change all aspects of their listed property.
- Provides automated credit card processing, and customer email notifications.
- The program has several unique features, including dynamic image resizing/caching, a sidebar that changes dynamically providing the renter the ability to narrow their search by selecting specific property features, and advanced search option, and the ability to allow the owner to upload an unlimited number of photos.
Easy Website for Artist., Miami, Florida (October 2008 – Current)
Project is currently in Development (Demo will be provided upon request)
Webstie Development (PHP, mySQL, JavaScript and Flash)
- Easy Website for Artists is company that envisioned the development of a specilized web-application that is specific to artists. Currently several artists have been added Art By Martin, Eileen Seitz, ImaginArt, Angela Toro, and others which may have been added in the last 6 months.
- The website was designed with a combination of techniologes, primarily mySQL, PHP, Flash and XML, and offeres an integrated blog, flash slideshow, and custom shopping cart.
- The website was created to allow the client and artists to make changes to their website, thus eliminating the need of a web designer.
- It also allows the adaptation of new websites within 1 to 4 hrs. It includes an integraded blog, slideshow, shopping cart, artshow schedule, biography, and more.
- The website took five months to develop and has an incredible amount of custom programming in php and mySQL. Of all my projects this has been one of my favorite.
- Please go to the website to check out some of the sample websites created by the web-application.
- Opening May 1st, 2008.
Harbor House, Inc., Miami, FL (05/2005 – 05/2006)
Systems Analyist/Programmer (4th Dimension Database)
- Harbor House, Inc. is non-for-profit that speciallized in transitional housing for the homless in South Florida.
- Developed Database to manage 40 Apartments and 80 client/patient/tenant facility.
- Database managed all aspects of business including, Patient/Tenant Records, Rent, Medication Inventory, and printed Reports and 28 misc. forms.
- Developed an Automated Faxing system that would send orders and invoices to restaurant owners.
eileenseitz.com, Miami, Florida (October 2006)
Webstie Development (PHP, MySQL, HTML, and JavaScript)
- Eileen Seitz, Inc. is a website for one of Florida’s best know artist. It was developed from scratch and has been supported and improved since 2006. It offers a customzied shopping cart and blog.
- The website was developed using HTML, JavaScript, PHP and mySQL as well as a couple open-source applications. Customers can logon to this website, complete their purchases using SSL, and provide feedback to the artist. The artist can also enter manage her shopping cart by adding new artwork and information into her shopping cart, alert customers of new art show schedules, update her biography and manage her blog from an administrative section in the program
miamiLuch.com, Miami, FL (05/2003 – 05/2006)
(Demo will be provided upon request)
Systems Analyst/Programmer (mySQL, PHP, and 4th Dimension)
- miamiLunch is an on-line food court that caters to restaurants that already have delivery. Eventhough the application had been completed, the client went out of business in 2007.
- Developed in combination with PHP, mySQL and 4th Dimension this program will allow customers order meals from their favorite restaurants directly from their home/office computers.
- Developed GeoCoding software with the US Census data to calculate delivery routes.
- Developed an Automated Faxing system that would send orders and invoices to restaurant owners.
- Developed e-mail systems to managed incoming and outgoing e-mails.
- This is both a Web Client and 4D Client Database driven system. Customers use the Web Client side and miamiLunch office personnel use the 4D Client side of the application.
- Restaurant Menu’s are entered into 4D with daily specials, custom pizzas, and any type of combination required by the restaurant.
NCL (Norwegian Cruise Line), Miami, FL (04/1994 – 09/2002)
Systems Analyist/Programmer (4th Dimension Database)
- Norwegian Cruise Line is one of the premier cruise ship carriesrs in the world.
- Developed 4th Dimension Database to manage orders for Premium Air Services customers
- Department consisted of 40 operators who used the application on a daily basis.
- Application allowed operators to receive faxes into database, enter customer information and generate a series of reports.
- Maintained, managed, and updated database throughout a 7 year period.
Q-Med Corporation, Ft. Lauderdale, FL (04/1994 – 09/1998)
Systems Analyst/Programmer (4th Dimension Database)
- Q-med is a 60 million dollar distributor of national brand-name medical/surgical supplies to hospitals in Florida.
- Managed Macintosh Netowrk of 15 computers, provided staff with desktop application support.
- Developed Full Scale Supply Chain Application that controlled inventory, and all accounting aspects (AP, AR, Invoicing, etc.) of business by using 4th Dimension.
- Developed over 60+ reports to provide managers with statistical data regarding inventory turn-over, and operating logistics.
- Developed database applications for the company network, including sales reports and search capabilities.
- Maintained and supported of 4th Dimension Warehouse system applications for order processing cycle, posting and synchronizing Databases with an IBM AS/400 System for large suppliers.
Megatrans, Inc., Miami, FL (05/1992 – 04/1994)
Systems Analyst/Programmer (4th Dimension Database)
- Megatrans was the second largest non-emergency medical transportation company in South Florida. Company Specialized in transporting patients from their homes to medical centers.
- Managed Macintosh Network of 15 Computers.
- Developed complete transportation management software with 4th Dimension. Included call center, dispatching, invoicing, payroll, A/P, and A/R modules.
- Managed Macintosh OS 9 network of 10 computers.