Flickr.com – Codebloke’s photographs
November 20, 2006 at 3:47 pm | In Blogroll, Design, Images, Philosophy behind solutions, Photography, Web 2.0, image | Leave a CommentI shared the way I see the world on Flickr.com. To see just click: http://tinyurl.com/yzc7p9
and this is my favourite one: http://tinyurl.com/ylkcb7
http://codebloke.wordpress.com strikes back – User interface for WEB (2.0:-)
November 18, 2006 at 11:52 pm | In AJAX / XMLHttpRequest, Code, Philosophy behind solutions, Web 2.0, Wordpress.com, development | Leave a CommentHowdy,
please take a look on my newest article on user interface and accessibility issues for web, Web 2.0 as well
http://codebloke.wordpress.com/user-interface-in-web-applications-abstract/
wordpress.com efficiency problem
November 17, 2006 at 9:03 am | In Wordpress.com | Leave a CommentGood Morning,
I started the blog yesterday and created two entries. Then yesterday, late afternoon I came back to change something and a ‘funny’ system message appeared.
This is screenshot:

You see, 5 minutes is not a big problem, but after 5 minutes nothing really happened…
What is even more bizarre is the fact that the update was actually successful, only the date was somehow cleared (wordpress.com keeps the date as integer value) and we were back in the 1970.

Cool! I wish it was that easy to do…

but it’s not.
Conclusion:
To the guys at the Development Team of wordpress.com… Please, if you store the ‘last_update’ timestamps as integer values, don’t zero them during ‘transaction’ if you’re not sure if it will be successfully finished (commited).
Plus. There is a number of simple tricks to prevent users from re-posting forms. Displaying messages to “not use back” is stupid. People use browser’s BACK button and always will do…
Web 2.0 is …
November 16, 2006 at 2:08 pm | In AJAX / XMLHttpRequest, Code, Web 2.0, development | Leave a CommentGrowing number of “community” companies around, constant media pressure and self-proclaimed industry leaders waiting to be recognized.
Hard to distinct buzz from a real value that the Web 2.0 brings.
So, what actually is the Web 2.0?
Actually, my perspective on that is simple
It’s just a different way to describe what we’ve got on the table for years, but it’s a good way and for me, worth to follow…

Five down-to-earth reasons to consider Web 2.0 a real breakthrough:
- For the first time as a mass and common approach to development we have strictly defined interfaces (API’s) accessible via network,
- Not only the interfaces, but also responsibility is strictly defined,
- …and really documented, from the Day One online.
- It practically introduces SOA (services oriented architecture)
- Ends all discussions on “which programming language is the best for Web”*
*) answer: one you can create an efficient API with…
However, talking is a cheap sport and would be nice to demonstrate what I mean.Maybe with some working piece of code…
Let’s say we need to:
- Verify delivery address and post code entered by users at the checkout in our web-based B2B ordering system (to avoid possible shipping problems like i.e. delays, returns, etc.).
- Initial purpose is verify the data as they’re only entered on the website, but…
- We need to create a reusable solution, so that it can be used from different platforms (i.e. just in case we would like to extend that functionality on verifying delivery data for orders collected by phone).
- Almost forgot… we’ve got a budget of approx. £200 for that project because this equals a monthly operational cost for re-processing the shipments. Re-delivery cost is usually invoiced on customers as it’s their fault*. They gave us incorrect address, right?
*) Fact: Customers don’t like to pay twice, even if it’s their fault… Plus, your customer care department will spend some extra time on calming them down, but it’s hard to indicate that as direct result of not sanitizing data input, so thing can be successfully masked
![]()
Post codes in the United Kingdom it’s not really a complicated issue.
For £750 you can buy CD with raw data from Royal Mail and keep it local.
Royal Mail provides also a ‘Find a postcode‘ service – available here:
http://www.royalmail.com/portal/rm/postcodefinder
Search options there are limited to 12 addresses a day… so not really something we were looking for. Plus, we wanted a unified interface. Hmm…
![]()
I believe that every 9 y.o. computer geek (even without the MCP) knows how to manually verify address (post code…) with a browser and a search engine.
Our implementation will do exactly the same:
- We collect unstructured data set from public websites, here google.com, yahoo.co.uk, viamichelin.com and yell.com
- We compare the results
- We format results in industry standard XML document

So, we’ve got a web server (1) that is processing requests from users (2) or servers (3). This machine communicates with other web servers (A) fetching for public content and connects my MySQL-to-XML database (B) that contains phone prefixes.
As long as we can provide a correct UK post code we should get a correct set of detailed information formatted as XML.

![]()
The result XML above was generated trough a URI:
http://www.codebloke.co.uk/XML/?asXML=MK42+7BU&go=check
Now you can test your sample UK post code over simple web form published here: http://www.codebloke.co.uk/XML/form/
-
Art of programming… (polishing blade)
November 16, 2006 at 10:23 am | In Philosophy behind solutions | Leave a CommentIt’s my deepest belief that programming, more than any other engineering-related industry starts now promoting art.
By definition (very narrow and therefore accurate) art is any action undertaken deliberately to create a new quality or give some new meaning to the existing ones (existing qualities).
So, the art is not about the media, not about the ‘product’ and the result may not even be noticed by a broader audience… hehehe… Sounds familiar?
Yes, development is an art. Martial art to be strict.

So, by running this blog I hereby declare war to all rigid, old-school minds.
Yes, developers must provide repetitive, high quality code.
Yes, they need to use patterns and document solutions they deliver in order to integrate them with the company operations (or user’s needs), but the primary task of each an every developer is to develop himself. By development of the work culture in the first place and the armoury of the weapons to use.
So, we’re all a kind of samurais
Constantly polishing blade and practicing for the purpose of victory of failure, which will never be as important as the act and art of development process itself.
But it’s not the blade that makes a samurai and there is no framework or programming methodology that makes a developer.
Like a fighter uses bare hands to attack or defend we need to be able to abstract ourselves from comfort of reusability and only then we can reach what people expect us to do.
We come to bring a real change, not a convergence or parameterization of existing tools…
Credo
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.