A Techno Blog, mainly about Java

Flash-y Droids

Steve Jobs has a HATE relationship with the Adobe Flash technology on Apple’s media devices. However,  the Android platform has not shut its doors to it depite security issues with it, as its available for download.  HTML5 is on the horizon and claims to provide a rich multimedia experience without the dreaded plugin download.  I would think with HTML5 would have flash beat on the android.  Not so much says CNN.  However, dull version Flash on Android is available with only the 2.2 version of Google’s operating system.

September 21, 2010 Posted by | Web/Tech | Leave a comment

Media Hub-a-dub-dub

News of the Media Hub from Sprint

A new system software update for Sprint’s Samsung Epic 4G gives this high-end Android OS smartphone support for the Media Hub, a service for renting and buying movies and TV shows that was unveiled just last week.

The new iTunes-like service is getting started with content from NBC Universal, Paramount, and MTV Networks. TV episodes sell for $1.99, movie rentals cost $2.99 to $3.99, while movie sales cost $9.99 to $17.99.

September 19, 2010 Posted by | Video | Leave a comment

Google TV you say?

With Apple TV, you can stream from your apple device to your television.  Such as,  Pay-per-view of TV shows (for the networks who are on board), or movies from Netflix.  But, what is Google TV? How do they compare?

This site states what we think it is:

Based on what has been circulating around the net it appears that Google TV has formed a partnership with both Sony as well as NetFlix to offer streaming on demand video in the best quality possible. Movie Downloads will be in 1080 p HD resolution.

In addition, Google TV Boxes will be pre-installed with Google Chrome for web surfing, will have the ability to utilize and run Android applications. Google TV will integrate into your television, computer and cloud platforms rather seamlessly. Web applications like Twitter, Google’s online photo sharing and storage service will also be included.

As Tim says:

Apple TV / Google TV are throwing down the challenge to all Cable providers. The goal is to ditch your cable boxes, and Blu-ray and instead view live streams direct from the internet directly through TV monitors. This will have a significant impact on the cable television as we know it. It’s only a matter of time television will be an old dusty device that our children’s grand-parents still view due in part Web mania is still a fad…

The google tv developers

September 19, 2010 Posted by | Uncategorized, Video | Leave a comment

The twitterville facelift

Yesterday I heard that there was big news coming out of twitterville. A press conference of some sort I heard was taking place. Over the past year or so the twitter thing has really grew on me. Especially, since I have been blogging since the early 2000s, I like the microblogging concept. Anyway, here is timeline of the news  about the #newtwitter. Some of the early adopters are not so happy about the tweeting changes.

More info:

September 16, 2010 Posted by | Blogging, Web/Tech | Leave a comment

Composition Over Inheritence Rules

We should avoid inheritance if we can.  Just like this post says:

The difference between is-a and has-a relationships is well known and a fundamental part of OOAD, but what is less well known is that almost every is-a relationship would be better off re-articulated as a has-a relationship

Other good practice that was mentioned in software was

September 14, 2010 Posted by | Web Design | 1 Comment

Social Media is Killing Feed Aggregation

The world of web content is changing before us. Just this week, the N.Y Times has gone on the record and indicated :

“We Will Stop Printing The New York Times Sometime In The Future”.

The way we get news has been for a long time been changing.  Some companies have had for while  a problem on how we use their content.

With the way the content is shared and presented, there is bound to be people who wan’t a piece of the $$$ pie.  Here is a good post on some of the types of news aggregation, and some of the  litigation/settlements in the misunderstandings on who has a right to publish the data. Or even, who owns the data. On the outs is the  RSS feed reader.

September 12, 2010 Posted by | Current Affairs, Web/Tech, XML | Leave a comment

The 21st Century Architecture at NFJS

I took just about the whole series of the 21st Century architecture at NFJS 2010 with  Brian Sletten.  Services (i.e. SOA) is not dead, however expensive is. Avoid the center down approach, and instead use the ecosystem based approach. Invest in the RESTful style. A little complicated, but you are investing in the future. Rest is not about behavior, but about information. It is not a SOAP replacement. Rest gives the freedom to negotiate in the format you like (i.e atom,rss, etc). Leonard Richardson introduced the Rest Maturity Model with Soap being level 0, URL resources level 1, http level 2, and hypermedia level 3. For example, twitter uses alot of JSON and not hypermedia. Some properties to consider with REST is performance (i.e. maybe the first request requires the greatest server hit, and subsequent requests do not), scalability (how it handles the load and scles down for different devices), stateless (part of request), uniform interface (don’t need WSDL), minimize layering.  Rest Triangle : Npuns, Verbs, Representations. The important http methods with REST include : Get is a state transfer from server of a resource (i.e. web page),  Head is constrained version of Get. Info about resource (i.e. header), Post is where accept by the server at this time an information resource, don’t know if it is recieved by server.  (i.e  form handling) create and update. Example in early days was usenet news,  Put is do know resource. Overwrite idempotent record, Patch is more explecit version of Post, Delete is idempotent, Options ask if allowed to do something. An overview of  Http return codes : 200s everything is cool, 204 no response, 300s good stewards (more information), 303 non-networkable address, 400s you screwed up, 500s server in bad state try again laterGood book is Rest In Practice.  Artucles: InfoQ on Rest , Rest for Java Developers, Restlets , Net Kernal , The future is Rest . JSR 311 :

Semantic web has public and private link information. Microformats standard, but no common model. RDF is new enabling technology to focus on concepts that provides a global guide to webs of data.Information has a context so people can use it. web site example that uses foaf (friend of a friend) with birthday handle. DBpedia data set.  Gleaning Resource Descriptions from Dialects of Languages (GRDDL) W3C recommendation structured content.  RRFa   is RDF attributes (metadata). RDFa is a way to label content to describe a specific type of information, such as a restaurant review, an event, a person, or a product listing. These information types are called entities. Each entity has a number of properties . Freebase , Adaptive Blue. The Curie processing / RDFa spec.  The Open Graph protocol enables any web page to become a rich object in a social graph. Enables any web page to have the same functionality as a Facebook Page. The Web Ontology for eCommerce can be found at Good Relations (see best buy). Semantic Web at InfoQueue . Rdfa split. ODF use of RDFA . Books: Pull: The Power of the Semantic Web to Transform Your Business. CommonTag. RDFa test page. RDFa distiller. web site. RDFa parser for fragments.   Details on Whitehouse. gov site that  uses RDFa .Taxonomy blog. Basics, Long tail

RDF triple , , rdf about ,rdf-sparql-query , linked data , , sparql query , twinkle, govtrack sparql , with twinkle , relfinder with Kill Bill. Lastly, google supports RDFA

September 7, 2010 Posted by | Web Design, Web/Tech | Leave a comment

jQuery basics

I am in the process of learning about jQuery. I have used some dojo, and recently most my work on client side has been in GWT . I figured the best place to start is in a slide share.  As well, there is a jQuery fundamentals, an  online book.  jQuery in Action is also online. As the first chapter says :

If you’ve spent any time at all trying to add dynamic functionality to your pages, you’ve found that you’re constantly following a pattern of selecting an element or group of elements and operating upon those elements in some fashion. You could be hiding or revealing the elements, adding a CSS class to them, animating them, or modifying their attributes.

This javascript library make it easier to accomplish these routine blocks of code in your client code.
To collect a group of elements, we use the simple syntax:


Known as a wrapper or a wrapped set.

September 6, 2010 Posted by | Uncategorized, Web Design | | Leave a comment

Mobile Dev Multi Platform

The iPhone Developer Program License Agreement clause 331 shuts out adobe from iphone , but Phone Gap “which let developers write JavaScript code that runs in WebKit inside a native iPhone app wrapper” is approved and can continue.

The tutorial(s) for Droids is where I decided where to start learning about Phone Gap .

Using phonegap guide on windows , I got Ruby186 with 0.9.1 phonegap-android , and execute command with git (unix) bash:

 $  c:/ruby186/bin/ruby droidgap c:/appdev/java/android-sdk-windows/ TestGap “c:/www/” “c:/aocapps3”

Other resources:

 a good presentation by Brian LeRoux of Nitobi for Ben & Dion on Phone Gap:

  • native app fragmentation  : “Every Android device had a different screen resolution. Every hardware feature had to be checked, since every Android device had different hardware configurations”
  • dom manipulation for cross  rowser incompatibilities
  • offline storage
  • Phone gap internals for apple’s platform uses the public sdk and objective C .
  • How you get your app to work for multiplatforms.  Mobile web is the solution.  Write once, get everywhere using web.
  • write web apps use phone gap to package applications
  • phone gap abstracts native browser agugment s javascript apis for device sensors data
  • iphone devcamp  aug 2008- instantiate web view call out from javscript api to native object c, only was throw url browser
  • gap://
  • geo, camera, sensor, vibration, sound, video, contacts, compass,anything browser can do
  • phonegap.jss www folder and index.html
  • starting point , can still do native at same time
  • create a browser instance, execute javascript from native code, call out from javascript thru url execute native code
  • androisbind java object right to browser instance become available as javascript objects
  • compatiblity among platforms : mobile spec written in Qunit which is async

Phone Gap tutorial(s) for Iphone:

Phone Gap reccomendation

Cross Platform Titanium and Phone Gap

September 5, 2010 Posted by | Mobile, Web/Tech | Leave a comment

NFJS 2010 Java Agility Event Series Part 2

EasyMobile Development by Pratik Patel :   JQTouch , App Accelerator Titanium , WebKit, Phone Gap , Building iPhone Apps with HTML, CSS, and JavaScript by Jonathan Stark, Aptana

jQuery byNathan Schutta : jQuery Fundamentals ,, More on topic from jquery tuts

Testing web layer: yuitest , js spec , qunit,  jsunit ,jslint

September 4, 2010 Posted by | Web Design | Leave a comment

Apple Touch-down celebration

There was Big new today by Apple . Here is quick rundown  of Steve Job’s state of the union address.

Ipod touch is not an Iphone without a phone, its an iPhone without the contract .

The cloud centric  set top box called AppleTV  that integrates (AirTunes) with the Ipad for $99 :

“Apple TV, which will be available within a month, will also display shows, movies, photos and music streamed over Wi-Fi from other devices – computers with iTunes installed, as well as iPhones, iPads and the iPod Touch. For example, an iPad owner could start watching a movie on the tablet, then walk into the living room and, with a few taps, finish watching it on the TV screen.”

Apple 99 cent rentals

Apple announces Ping, the social network for music built into iTunes. Don’t forget the GameCenter either

September 2, 2010 Posted by | Web/Tech | Leave a comment