I was looking at the PHP5 (no this is not about PHP) Reflection API and came across a post talking about the “Dynamic Proxy” design pattern. As I didn’t know what it was about I did a quick search and found that the design pattern had a US Patent on it! I was disgusted and appalled that design patterns could be patented. This is like putting a patent on a certain English sentence grammar.
Obviously the guys at the US Patent office don’t understand what they are allowing to happen. Imagine if 90% of all programming was patented, which can be done fairly easily, it would completely retard innovation and an sort of progress. Fortunately is this impossible to enforce in closed source code software but Open Source [OS] is another story. This could be the biggest legal threat to OS so far. Large companies who have the budget, could have teams that sift thought their OS competition looking for patent infringements and shutting them down. An ugly thought which would gain them only hatred from the developer community. Lets hope that’s enough of a disincentive…
Just had a great idea for social software sites
I was chatting at work about how to encourage community interaction between people on a community site. I was thinking having some sort of recommendation system that would figure out who you might like and then notify you of there most recent actions. After chatting with Alex about it the idea of community games amongst people on the site came up.
I noticed that on Vibewire forum games always had the most posts, which were similar to those voluntary surveys that move around email like chain letter, the ones where you have to answer a series of unrelated personal questions. Some people love those things.
I think good interactive online games would make a big difference to a community site in terms of retention of attention. Its hard to talk about as there aren’t any ‘community metrics’ yet. Something I would like to do some work on at some stage.
I would like to report this Windows Internet Explorer bug to save other greif. Seems that IE 6 (well, version: 6.0.2900.2180.xpsp_sp2_gdr.050301-1519 to be specific) doesn’t handle the <button> tag very well, especially when it is of type submit.
I have a form that allows multiple actions to be preformed on the selected data. Each action has a button with a value and they all share the same name. Something like:
<button type="submit" value="send_email" name="act">Send email</button>
<button type="submit" value="delete" name="act">Delete</button>
This button works but the value that IE submits is always ‘Delete’ (note the capital!?). Seem that when a form has more than one button of type submit IE will always pass the value of last one on the form no matter which button is pressed. This is not the case for <input> buttons.
Guess this means it doesn’t fully support HTML 4, or is this a ‘feature’ not a bug?
Xenu takes site management to new levels.
Just finished a job for ATOC maintain the National rails website (both runners up for ugly site of the month). On this job we had to make the site DDA compliant, so accessible to the less fortunate and standards compliant basically. Because there were a large number of static pages that were maintained by a nasty CMS system there were a lot of pages to check for broken links.
Xenu was then brought to my attention and has changed my life. Point it at a site and it will make a list of all the pages on that site, which pages link to it and from where on that page as well as list broken links and where they are coming from. Further it will prompt you for FTP details and then make a list of all the orphan pages and much more and present this in a web page report.
This is the best site management tool I’ve seen so far. I don’t know why none of the other web development tools do this kind of job.
Mozilla Sunbird allows for colaborative scheduling and PHP needs to support it!
There has been a recient review of Mozilla Sunbird which is just a simple calendar and To Do list program from the Mozilla people, bit like the appointment part of Outlook. I like it because its nice and simple and uses open standards.
With it you can have multiple calendars (which Outlook doesn’t do) so you can keep your work life and social separate if you like, or not: its a check box away. You can also import and/or share your calendar using WebDAV which basically lets you write to files on a web server over http. So you can share a calendar online with one or more people. So if you have a group of friends who do stuff together, or just people working on a project together, you can all see what the up and coming events are.
RSS is all fine and dandy but its designed to show you events that have already happened. What I’d really like is to be able to subscribe to a particular venue, artist, band, club, circle of friends, radio station etc. Basically anything with a schedule/calendar and have it appear in my local calendar. Sunbird seems to allow this. The standard it stores its calendar information in is called iCal. I had a quick sniff around and there is no a PEAR or general PHP support for this format. Be nice if there was an XML version of it (Sunbird has an option in the export but its not implemented it would seem)
This is a not to self: Write PHP iCal object
A discussion on localization caught my eye, and fleshes out the issues involved. It took me back to a project I did with Bernard on 2001 where we had to translate a portal system for 13 country’s in Europe, each with multiple languages each.
Since I’ve been keeping translation in the back on my mind while developing ComPort i had a look around to see what’s out there for PHP:
One day ComPort will be in Japanese…(one day)…
Seems cross browser HTML editors you can embed in a web page are everywhere
For content management systems (CMS) that you want to allow users to mark up their posts here are some cross browser solutions.
Cross-Browser Rich Text Editor was the first one brought to my attention by Coach Jason. Simple and does the basic job.
- FCKEditor which I’ve implemented in an online help system manager for Cable and Wireless. Quite feature rich: multi language, skins, right click context menu etc. Had some problems with version 2Beta:
- Can’t handle complex code generated by some other editor i.e. MSWord
- Image insert not finished (but looking promising).
- Needs more documentation as its a huge API.
- Another one I haven’t really looked at yet.
Seems there is a bit of a hoo-har about making nice dropdown menus since most recent article on ALA which has got Zeldman started on about how he hates drop downs anyway but supports the right to rant about them. There does seem to be some empirical evidence to support the idea that dropdowns are bad UI design, but try telling that to a designer.
This is all fine and dandy since I woke up this morning and decided to solve all my CSS dropdown problems once and for all. So I’ve been researching and this is what I’ve found:
- There’s mention of some Dutch dude who has a pair but bugger me if I can read Dutch. Works in everything except IE/Mac (bain-of-my-facking-exsistence). So no good :(
- There are better suckerfish menu’s avalable now, which I originaly gave up on because of IE/Mac problems. Still no work in IE/Mac but offers a dubious solution.
- Whatever I come up with, I’d like to intergrate it with the sexy sliding menus. Pitty they don’t use CSS for positioning.
- Finaly there is the XHTML/CSS/DHTML Semantically Correct Drop-Down Menu v1.1 which I have been using thus far but have done something to the CSS that makes it wig out on Safari 1.2 and quite frankly I’m over it.