Friday, November 07, 2008

Paypal Integration

I recently have been setting up an ecommerce site from the ground up. One of the task at hand was to incorporate Paypal as a method to the checkout process. Paypal offers many ways to do this. From APIs that process the credit cards on your site to passing off variables over, to simply adding a buy now button on each product.

I opted for a middle of the road option at first, which they label _cart. HEre is the code:


This option allows you to gather your products in your shopping cart and send each item to be listed individually on one invoice in the Paypal site. The problem is that this option does not allow the developer to submit discount or coupons.

This posed a major challenge as the site I was building makes use of coupons and other special promotions such as free shipping based on benchmarked dollars spent.

The solution, set the cmd hidden field to _xclick and pass all the items in one description field. It's not as pretty or user friendly as the previous solution, but you then only have to pass Paypal a total amount which includes all discounts, tax, shipping charges all in one line.



The bottom line is that as you are developing Web sites you will be thrown several curves. You will encounter a multitude of problems. The best thing to do is to go at it, do some research and thing of simple solutions. Don't get wrap up on the problem, the best solutions are simple, effective, and best of all easy to code.

Labels: , , , , , ,

Digg This Del.icio.us Slashdot

Monday, October 06, 2008

Bank Implossion and failed economy

For three years now I have become very financially conscious to the point where I'm tuning more and more to CNBC. I'm becoming older and wiser following politics, the world around me and taking the time to hear some expert opinions before I do anything with the few pennies I have assigned to my name.

With the bank mergers and scares, three weeks ago I started googling for a new bank providing a similar high-yield for my account as Washington Mutual had been providing, but with less trouble and more peace of mind that it wouldn't go under. I once again looked at HSBC and ING. Both scare me as I have no quick way to access my money when I need it as branches are nill in my area. I then looked at money markets, once that stood out was Discover Bank, but once again, no local branch.

In my searches I found this site, the bank implode meter. Not much to look at from a Web design standpoint, but full of wonderful news and information on today's economy.

The bottom line is that at a time of turmoil and an unstable economy is best to keep an eye on your money, whether you have millions or ten bucks, you want access to your money when you need it. I delayed the transfer, but luckily WAMU was picked up by Chase preventing any FDIC situation, but I sweat it for a day or two. Now things are looking brighter and I'm still getting my 4% APY. Word of advice trust your instincts, it got you what you have and if you're happy then don't sweat the small stuff.

Labels: , ,

Digg This Del.icio.us Slashdot

Wednesday, September 17, 2008

Print, Web, who cares, just be informed

Recently I had a friendly discussion with a colleague on the topic of print versus digital publishing. The mediums are very similar in that they provide information.

That is were the similarities end.

When an individual sits down to read a newspaper or magazine, they do so as a leisure activity, a way to pass time, which yields knowledge. At the same time they are limited to the information provided by the author/writer. If the user has questions, they cannot interact or find a quick answer within the same media vehicle. The reader is left to ponder and resolve their own thoughts and ideas on the piece. Readers usually find themselves reading the piece two or three times looking for clues that will help them come to a conclusion.

When a reader opens a browser, it is done with the purpose to satisfy a hunger for knowledge. They seat at this dinner table and start with a search, one or two key terms. They dive into the topic at hand and quickly find themselves jumping from one topic to the next, all trigger by the information they are receiving. Like in print, one topic leads to questions, the difference, the reader has a quick satisfaction. The need to think is drastically diminished. A reader simply needs to turn back to the search box and be ready to face a multitude of choices and options for an answer.

This medium is able to provide a great deal of information to be consumed. The hunger never seizes, but merely a level of satisfaction is achieved that allows the reader to walk away from the table empower with applicable knowledge.

The bottom line is that there is a need and room for both mediums. Writing for the Web is a whole different art form than that of print. The Web is a medium of collaboration where a reader is provided a multitude of opinions and ideas that lead to a conclusion. Where as Print is a medium for those seeking one experts opinion allowing the reader to either accept the conclusion or form their own with at their own capacity.

Labels: , , , , , , , ,

Digg This Del.icio.us Slashdot

posted by Death is Forever at 0 Comments Links to this post

Saturday, September 13, 2008

Google Chrome

Web designers faced many challenges, among them the compatibility across all browsers. In 2004, I downloaded Opera, and it became my rule of thumb that if it worked and looked good in Opera, it would be fine in all other browsers.

Then came a new version of Opera, and my rule went out the door. I know was creating sites and testing in three different browsers. I was testing in Internet Explorer, Firefox, and Opera. I could care less about Safari or Mac browsers because at the time Apple was in the toilet and most were using PC.

Since 2004 many things have changed. Most households have adopted some flavor of computer and some sort of broadband. Each of the aforementioned browsers have evolved and have required many more band-aids across the board. CSS has also evolved and with it many more problems have followed. In June of this year (2008), I wrote a post alluding to Google putting all these broswers to shame with some standards.

Well the Google browser is now here. As with all Google products is a beta release and shall remain so for the upcoming years to follow. I download the savior last week and have been playing on and off with it. Test driving it if you will. As with most Google creations, it is simple, yet powerful enought to calculate your most visited sites and minimizes the crashes. Although it provides a lot of features, it somehow lacks flare.

I opened a few pages that have tweaks and patches and for the most part it looks like all sytems are a go.

The bottom line is that with the release of Chrome I hope to be able to diminish the patches, but the future looks gloomy thus far, I spoke with a few friends in the space and most had yet to hear of the browser, let alone taken it out for a test drive. Hopefully our Savior has come, but only time will tell.

Labels: , , , , ,

Digg This Del.icio.us Slashdot

posted by Death is Forever at 0 Comments Links to this post

Wednesday, August 20, 2008

The pretty colors of fall

Summer is quickly coming to an end. One of the things I miss about the north is the change of seasons. We have been in Florida now for a year, as such, we have experience all four seasons: fall, winter, spring, and summer.

Up north the seasons are drastically different, leaves change, trees come in and out of live and the landscape changes. In Florida we have really only two seasons, hot and hotter! No matter where you go in Florida it all looks the same, flat and green, with the occasional water spot.

Today, I can officially consider my self a Floridian as we been visited by a snake. This evening my wife went to get the mail after returning from a long workout and a bit of grocery shopping. As I'm putting the last of the groceries away, I hear her scream my name. I quickly ran out to the garage where she was standing to the side of the garage door ranting about some snake, I look over to the right and in the corner was a small and colorful snake.

One thing you don't want to mess with is snakes, they can be quite dangerous and poisonous, although most statistics will tell you that only 17 bites a year in the US turn fatal. We don't want to become a statistic. Needless to say, I quickly reach for a broom and swung the snake a few feet over to the garden where it quickly faded away into the evening. My wife, the obsessive researcher that she is, wasn't able to find a picture of a snake like the one we had, but I'm pretty sure it was not poisonous. The small thing was maybe two feet long and a couple of inches in diameter, but being that it had multiple rings of color, she wanted to be in the know.

The bottom line is that if you come across an unknown your best bet is to be cautious and not to panic. Quickly find a long object to put some distance between you and the creature and shut the door as quickly as possible. Most snakes, like all animals, are usually seeking food and shelter. They are probably more scare than you are. After all you are much bigger than they are. My one regret is that in my rush to rid of the creature I didn't snap a photo, perhaps next time I'll think more clear.

Labels: , , ,

Digg This Del.icio.us Slashdot

posted by Death is Forever at 0 Comments Links to this post

Tuesday, July 29, 2008

Cuil

Cuil is officially launched and the buzz is in, the word, Google should be afraid. I don't think Google has anything to worry about as of yet. So what if the founders of Cuil where key engineers at Google. So what if Anna Patterson orchestrated the latest algorithm that Google is supposedly currently using.

I test drove cuil, I think they offer a great interface for the results, but I don't see where their claims that their algorithm is much more sophisticated than that of Google's. I found it to be quite inaccurate. Don't get me wrong, I'm far from being Google's fan. I think Google is quite sophisticated and offers great search tools that have been gamed and manipulated by scammers and skeemers to skew results. I'm still able to find solutions via my queries, that which I tried on Cuil and was unsuccessful.

I recently read a book that stated that just because you have the technical know how on performing a specialized task, does not mean you have the skills needed to run a company. Anna was the architect of Google’s large search index, but is she simply a search technician and coder or does she carry the ability to run the business while having other create and manifest her vision?

The bottom line is that many more powerful companies have try to take the Giant down and the giant is yet to loose. The numbers don't lie, Google has 50% of the search market share, while Yahoo possesses 20%. These numbers sound familiar, they should, think Coke and Pepsi. Others like MSN, AOL, LIVE, ASK carry the difference in the search engine space. Another search engine that had a big debut was Mahalo. It came out with an interesting concept of taking the machines out of the equation, but the buzz quickly ceased and I doubt that it will ever produced or come to full fruition. I won't hold my breadth on Cuil, but I'm glad to see competition as it will only make Google come out with a stronger search product. My prediction is that Cuil will be cool for a week or two.

Labels: , , ,

Digg This Del.icio.us Slashdot

posted by Death is Forever at 0 Comments Links to this post

Are you in a pyramid scheme?

Next time you find yourself sitting in a business meeting, instead of zoning out, pay attention to how things go down. Someone comes up with a new idea, the executive thinks the idea is brilliant. Together they identify who is going to perform the task, the executive will leave the meeting and head over to the CEOs office and present the idea. He will take full credit for the idea or he will say it was a collaboration from the originator and himself. Some lowly man down the totem pole will put in over time, they might even put in a weekend or two to accommodate this brilliant idea into their already full plate of tasks. Once compile and completed the sales person will bring in new money to the company where the CEO will congratulate the executive on a brilliant thought and a great job well done, while the lowly individual will get to put in many more extra hours and keep delivering product for another 20 years and perhaps one day get noticed and promoted to head janitor.

Wikipedia describes a pyramid scheme as a non-sustainable business model that involves the exchange of money primarily for enrolling other people into the scheme, usually without any product or service being delivered. It has been known to come under many guises. In other words, the lowest man in the bottom does all the work while the ones above gets all the glory.

The bottom line is that you want to get yourself out of the bottom of the pyramid and march up the diagonal. In order to do so, you need to identify what makes you unique and sets you apart. What do you bring to the table? You must enjoy doing something that others don't. You enjoy doing because you are good at it. Take your talent and find the right place where you will now be able to sell it as the commodity. You, my friend, will not longer be at the bottom putting in the extra time and effort into tasks that other dreamt up for you; you will now be delegating to others and only performing the tasks which you enjoy.

Labels: ,

Digg This Del.icio.us Slashdot

posted by Death is Forever at 0 Comments Links to this post

Thursday, July 17, 2008

Div Container Width

I have become a great fan of CSS and fluid design for the past couple of years. Tables are a thing of the past. The problem is that even though most Web designers have evolved, browsers have not.

You see browsers are put together by coders, developers if you will. Those types only understand 0 and 1s and have very little time to worry about nuances that pesky designers would devote their time to calculating. One of those nuances are containers like div.

Originally designed to serve as layers, again for Web and Graphic designers, div have become very useful as not only can they float and be positioned, but they serve as containers for content on the Web page.

Here comes my issue, I been having some problem fitting the content on a multi-column site. After some quick Googling, I came across a forum thread explaining that the total outside width of a div box is the sum of the values for the following properties:

margin-left
+ border-left-width
+ padding-left
+ width
+ padding-right
+ border-right-width
+ margin-right
= total occupied width of any {display:block} type box

This makes no sense to me. Although Firefox does follow standards and many accuse Internet Explorer of breaking rules and misbehaving; IE6 and IE7 follow rules much more closely to how designers work. When I designed a page I typically render it in Photoshop, then I translate the work into HTML and CSS. When I measure my drawings in Photoshop, IE follows suit, while I have to more intensely calculate when it comes to Firefox.

The bottom line is that it is unfortunate that browser creators can't come together and be unified so that we, as Web designers, don't have to patch holes cause by the multitude of browsers. Perhaps one day the W3C will succeed in unifying browsers with coming up with standards and rules. As for me, I'm just waiting for Google to come out with their own browser, take over the world, and keep making us drink their cool-aid, until then, I'll keep plugging the holes and hope to stay afloat.

Labels: , , , , , ,

Digg This Del.icio.us Slashdot

posted by Death is Forever at 0 Comments Links to this post