Thursday, November 30, 2006
Flex Cairngorm:filtering data with the comparator class..
I took this class and implemented it with a (simple) extension in my Flickr/Flex playground app (FlickrFolio) .
view application
view source
It consist roughly of 2 parts:
1. registering the items which you want to filter
2. registering the filters which you want to use.
Most important Classes:
// used to acces the comparator class
nl.nyls.flickrFolio.model.ModelLocator;
// the comparator class and the interface
nl.nyls.flickrFolio.util.Comparator.as;
nl.nyls.flickrFolio.util.Comparable.as;
// VIEW :: the product to filter..
nl.nyls.flickrFolio.view.thumbnail.mxml
// the filter-view
nl.nyls.flickrFolio.view.filtertPhotos.mxml
// the command which executes the filtering
nl.nyls.flickrFolio.command.FilterPhotosCommand;
1. registering the items which you want to filter
My FlickrFolio request the most recent photos and fills an ItemList. The itemlist displays the thumbnails with a custom ItemRenderer called Thumbnail.mxml.
So FLickr returns for every photo a valueobject (called Photo) which is binded to the Thumbnail.mxml. In every Thumbnail the actual thumbnail-image is loaded. WHen the image is loaded, the thumbnail registers it's data (id, title) and image to the comparator- class.
(ATT: better to cast the flickr Photo value-object to my PhotoVO value-object but could not get that to work, YET)
You register the data so you can filter on properties of that data. The data (or ValueObject) needs to implement the comparable interface, this interface has only one method, (get identifier) which the comparator class needs to get a unique identifier.
Registering the image (or sprite) let's you perform actions (showing/ hiding/ moving etc). on that image after a filter action.
2. registering the filters which you want to use.
OK, so now it's time to do some filtering, the filterView has now one simple filter. A textinput which you can use to filter on the title of a photo. The original Cairngorm shop example used a slider to filter between max - min prices and filter on different categories.
WHen you type in a letter the filterPhotoEvent gets fired which gets caught bij the FilterPhotoCommand this is where the real stuff happens. Here you first register what type of filter you want to use so:
addFilterTextProperty( filterOn, value )
here we want to filter on a String property named filterOn (=title) which has a value of (-value)
other filter properties are:
addFilterRangeProperty ( filterProperty : String, min : Number, max : Number) here you can filter on a range, so for example 'property-name:price' between min:1 and max :5
addFilterSelectionProperty( filterProperty : String, selections : Array )
here you filter on multible selections, you have selected in the group 'category' the selections ['large',' small'] . This can be used if you use checkboxes to filter on.
model.photoComparator.filter();
Here you do the filter action, it loops to the registered items and tags filtered or not..
model.photoComparator.applyAlphaEffect();
perform an action on all the items which are tagged filtered .. So show the filtered and hide the not filtered.
------------------
It is really easy to extend the filters and I like to explore filtering on color or shapes :> Anyone has some experience in that field??
Wednesday, November 29, 2006
How about some Flex remoting (AMF 3) - Flex, ARP, Cairgcorm
http://weblogs.macromedia.com/mxna/controller.cfm?handler=PostHandler&action=click&postId=143550&nextPage=http%3A%2F%2Fblog%2Exsive%2Eco%2Enz%2Farchives%2F174
Thursday, November 23, 2006
create new modules from any data source for placement in the popular start page
http://www.dappit.com/
Amsterdam actueel nieuws
http://www.dappit.com/RunDapp?dappName=Amsterdamactueelnieuws&v=1
Wednesday, November 22, 2006
FLASH :: Adobe Open Sources ActionScript Media Gallery Code
http://weblogs.macromedia.com/mxna/controller.cfm?handler=PostHandler&action=click&postId=138472&nextPage=http%3A%2F%2Fblogs%2Eadobe%2Ecom%2Fmikepotter%2F2006%2F11%2Fadobe%5Fopen%5Fsour%2Ehtml
Actionscript 3 - FZip
http://weblogs.macromedia.com/mxna/controller.cfm?handler=PostHandler&action=click&postId=137431&nextPage=http%3A%2F%2Fwww%2Ebeedigital%2Enet%2Fblog%2F%3Fp%3D741
FLASH:: SEO for SWFAddress
http://weblogs.macromedia.com/mxna/controller.cfm?handler=PostHandler&action=click&postId=137404&nextPage=http%3A%2F%2Fwww%2Easual%2Ecom%2Fblog%2Fswfaddress%2F%3Fpermalink%3Dseo%2Dfor%2Dswfaddress%2Ehtml
Tuesday, November 21, 2006
FLEX:: How to load FlashPaper Documents in Flex 2
http://weblogs.macromedia.com/mxna/controller.cfm?handler=PostHandler&action=click&postId=136281&nextPage=http%3A%2F%2Fwww%2Edarronschall%2Ecom%2Fweblog%2Farchives%2F000249%2Ecfm
Tuesday, November 14, 2006
Media in beeld
Uit het onderzoek, komen volgens de bank drie duidelijke trends naar voren:
Media any time, any place, any where. De consument bepaalt waar en wanneer hij consumeert. De consument wordt steeds actiever door toenemende interactieve toepassingen op televisie en internet, bijvoorbeeld zelf gemaakt videomateriaal dat op internet worden geplaatst. Grenzen tussen media en sectoren vervagen: media groeien qua functionaliteit naar elkaar toe.Persoonlijk vind ik deze informatie achterhaalt, ik dacht er namelijk al zo'n 1,5 jaar geleden zo over... 'Ben ik dan te vroeg of ABN te laat' vraag ik me dan af. Maar goed, het is wel een ideaal bekopte weergave over hoe de mediawereld er vandaag de dag eruit ziet. (En voor de Nederlanders; het is gratis!)
Via:
http://crossmediaforum.web-log.nl/crossmediaforum/2006/11/media_in_beeld.html
Monday, November 13, 2006
The Long Tail, the Long Term and Your Blog
A lot of people starting blogs today are looking for quick results. The definition of "results" really depends on what your motivation is. In this case, I am talking about using a blog as a business tool for marketing and public relations.
Sometimes, this occurs. For example, Neil Patel's Pronet Advertising Blog has fast become one of my favorite reads. It's new, but it's clear from the myriad of daily invaluable posts and his sustained presence on digg, Neil gets it. However, more often than not, if you're starting a business blog, just as with stocks, you're best off taking a Long Tail and a long term approach.
Blogs are built to capitalize on the power of the Long Tail. First, you need to focus your blog on the segment of the conversation you care passionately about - and stick to it. If your blog gets 100 regular readers a day and it's the "right" 100, then it's a success. The key is to add value to that dialogue. Find online gems that this audience is likely to miss and share your perspective. Write compelling op-eds and tutorials.
Second, and here's where the long-term approach factors in, be patient and blog for search. An executive for one of the biggest blog companies on the Web once told me that it takes a year for a blog to build substantial Google juice. Judging from what I've seen from the various projects I've worked on, he's right.
Blogging for search starts with a good statistics program, like Google Analytics. Start tracking where your traffic comes from. The Google Analytics blog has a great set of tips today just for bloggers. These include:
Finding out what posts readers liked the most by looking at daily visitsComparing new vs. returning visitors Finding out how people exit your blogMonitoring how long readers spend looking at your content http://www.micropersuasion.com/2006/11/the_long_tail_t.html
Friday, November 10, 2006
corporate bloggen >>
Externe communicatie
- Directie of management om te communiceren met klanten
- Voor medewerkers om te communiceren met klanten
- Versterken imago/ corporate identity
- Transparante organisatie
- Consumenten op de hoogte houden van nieuwe produkten of diensten
Interne communicatie
- als kennismanagement tool binnen het intranet
- Dialoog tussen verschillende hiërarchische lagen: betrokkenheid
- Delen van Relevante informatie
Conclusie
- met een blog kun je op moderne, effectieve en efficiënte wijze intern en/of extern communiceren
- een blog biedt de mogelijkheid om de doelgerichte dialoog aan te gaan met doelgroepen
- Is een middel voor het opbouwen en versterken van de corporate identity
- Een blog kan ook ingezet worden voor intern kennismanagement
http://indirareynaert.web-log.nl/indirareynaert/2006/11/corporate_blogg.html
Reclamebureaus boos over wildplakkend freelance collectief
Hacken is ook al een manier om publiciteit te krijgen. De een gebruikt het als een goedkoop trucje om wat rumour around the brand te creeren. Door te doen alsof de eigen thuispagina is gekaapt. Niet erg origineel, wel effectief (gemeten in aantal reacties). De ander gaat een stap verder en kaapt brutaal de thuispagina van een stuk of wat grote reclamejongens. Reacties verzekerd. Het freelancecollectief van Freelancecopy.nl deed dit met de sites van Ara Direct, Saatchi
Monday, November 06, 2006
Mashery API Management Service is Open For Business
Mashery is aimed at companies that already recognize the importance of APIs and developer community but want to save money and time by paying some one else to set up the support infrastructure and do it right. It has a different feel to it than StrikeIron, visiting the two company’s sites will make some differences quickly apparent.
Thankfully, Mashery emphasizes throughout their site that users own all of their own data and can easily export it at any time. That data is stored and processed with Amazon’s S3 storage and EC2 elastic compute cloud. Thus scaling up quickly and affordably will always be an option for Mashery. This is a striking example of the kind of company commoditized storage and processing in the cloud make possible.
http://www.techcrunch.com/2006/11/06/mashery-api-management-service-is-open-for-business/
Thursday, November 02, 2006
retail > branding >Zo ziet de Postbank Winkel in Nijmegen eruit
http://blog.adformatie.nl/index.php/entries/zo-ziet-de-postbank-winkel-in-nijmegen-eruit/
Wednesday, November 01, 2006
scrybe - offers simple solutions for age old problems
- offline
- online
- saving online data directly-
- agenda/ organizing-
Running your sites like you'd run a pub
Now you should really get to know what makes a pub popular. It matters because what makes things popular doesn’t really different between the online and the offline world. It’s all about creating a buzz, making people talk about you (or link to you, the online equivalent) and making them feel something is happening that they shouldn’t miss.
http://www.marketingpilgrim.com/2006/10/free-beer-inside.html