Posts Tagged ‘PHP’

Do you like typog­ra­phy? Are you tired of ragged right text? Do you have a Word­Press blog? Go here now! wp-Typography is the merger of wp-Typogrify and, more impor­tantly, wp-Hyphenate. I do LaTeX type­set­ting, and as a result, I’ve acquired an appre­ci­a­tion for prop­erly for­mat­ted text. If you ever tried using the CSS prop­erty text-align, you inevitably are dis­ap­pointed with the results because it resem­bles noth­ing like what LaTeX can pro­duce. You often have to make your text eye-jarringly wide to make it use­able, and that doesn’t always work. This is because the browser lacks built-in sup­port for hyphen­ation. This plu­gin makes up for this browser defi­ciency by insert­ing hyphen­ation hints, known as soft-hyphens, which the browser does under­stand. The algo­rithm is based on the one used in TeX to boot! Brilliant!

This post is a bit over­due con­sid­er­ing the project for which I did this was com­pleted months ago. I finally got around to doc­u­ment­ing it. Magento’s prod­uct list view lets cus­tomers add prod­ucts to the shop­ping cart one at a time. The client wanted cus­tomers to be able to add mul­ti­ple prod­ucts to the shop­ping cart simul­ta­ne­ously. Given the time con­straints for the projects, I cre­ated an ad hoc AJAX method to accom­plish this fea­ture request.

(more…)

I finally got around to spin­ning off MyGoogle­Cal as a sep­a­rate web­site. I opted to rename the script to RESTYLEgc to avoid step­ping on Google’s toes. It was some­thing that’s been ges­tat­ing over the past year. I com­pleted the site over the hol­i­day week­end since I had the time avail­able. The new site is at www.restylegc.com. I’m also host­ing the script at Google Code, and I even added a Google Group to facil­i­tate dis­cus­sions. After see­ing the com­ments top 100, I real­ize a blog really isn’t suit­able for lengthy dis­cus­sions. Hope­fully, the forum and wiki fea­tures will be bet­ter for the end-user.

I updated MyGoogleCal4 with a small bug­fix this week­end as well. That will be the last update. Future devel­op­ment will con­tinue with RESTYLEgc. Since the code was orig­i­nally pub­lic domain, I opted to go with an MIT open source license. I also got the code in a Sub­ver­sion repos­i­tory which I should’ve done a long time ago. With the Issues tab at Google Code, I can bet­ter track and encour­age bug reports and fea­ture requests.

The code is still free, but paid sup­port is avail­able. I’ve also got some other ideas of where I want to take the site. So stay tuned!

Magento, an open-source PHP ecom­merce solu­tion, has a very com­pre­hen­sive fea­ture list. How­ever, its built-in CMS doesn’t sup­port hier­ar­chi­cal pages. You can fake it, though.

(more…)