web 2.0

Palm, WebOS, Mojo, Ares, HP, and now Enyo

So I was fortunate enough to attend Palm's Developer Conference on Wednesday, February 9th.  And I am very happy to see that people are still behind WebOS after HP is putting more money into it.  I am more glad to see that HP is improving WebOS as a whole.  And now we have a new framework of WebOS to work with, Enyo.  I was a little skeptical first, but after explanation by Gary Norton in Q&A section, I was a lot more relieved.

Pros of WebOS 3.0

  • Enyo framework is extremely easy to use, it uses DOM as a displaying device and saves you tons of time from DOM manipulation
  • You can still use Mojo if you want, but company support is not 100% guaranteed on the legacy system.
  • Ares will have some Enyo framework from the demo
  • If you don't want any of these, you can still load up your web app into WebOS framework
  • The IDE is your webkit inspector, this is my favorite part
  • WebOS on HP Computers, which has a bigger install base than any cellphone manufacture

Cons of WebOS 3.0


  • Too Many Frameworks, too many ways of doing the same thing, and it get's really confusing which route to take.
  • Legacy support is unknown, for those who mastered Mojo, the skill sets that we spent a lot of time to learn are in jeopardy
  • New skill to learn, in order for Enyo to mature and draw huge amount of developers, HP is really gotta show that they are willing to support them.

That's just my 2 cents from HP's Developer Conference.  I will be supporting it regardless, Enyo seems like a cool framework to work with not only for WebOS, but for Web as well because it takes out all the hassle on css/cross browser.  We'll see where this goes.  Good luck, HP!

Tags: ,


Facebook Connect SDK for WebOS

I have been trying to get Facebook Connect working on WebOS and having no luck of googling the answer, so I've decided to build it myself.

Below are the steps you need to get it working

Step 1

Create a facebook app at http://www.facebook.com/developers/createapp.php

Step 2

Setting up the website to your domain, in my case would be www.paschar.com, but you need to set it to anything that suites you

Step 3

Create your callback url on your website, which can be any url, in my case it's www.paschar.com/webos/callback.  Set it automatically redirect to following authorizing url upon receiving "code" in the QueryString

https://graph.facebook.com/oauth/access_token?client_id=[your clientid]&redirect_uri=[your redirect url, i use the same one]&client_secret=[your client secret]&code=[the code you receive form querystring]

Step 4

Now that everything you need outside of WebOS is done, you can download my "facebook webos sdk" from https://github.com/Nyceane/facebook-webos-sdk make sure you change the link to your own callback url in fbconnectassistant.js.

You should be able to see following screens step by step when successful.




If you find this helpful please feel free to make any comments or give donation.  I am trying to raise $7,500 to attend TED2012 Conference.


Tags: , , ,

Blog | WebOS

IIS7 Add or remove www. prefix on asp.net

Remove URL's code is used as follows


<rule name="Remove www" stopProcessing="true">
                    <match url=".*" ignoreCase="true" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{HTTP_HOST}" pattern="^www\.(.+)$" />
                        <add input="{HTTP_HOST}" negate="true" pattern="^[^.]*dav.*" />
                    <action type="Redirect" url="http://{C:1}/{R:0}" appendQueryString="true" redirectType="Permanent" />


To add www. or other prefix use the code as follow


<rule name="Add www" stopProcessing="true">
                    <match url=".*" ignoreCase="true" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{HTTP_HOST}" negate="true" pattern="^www\.(.+)$" />
                        <add input="{HTTP_HOST}" negate="true" pattern="^[^.]*dav.*" />
                    <action type="Redirect" url="http://www.{HTTP_HOST}/{R:0}" appendQueryString="true" redirectType="Permanent" />


This will save you some time

Tags: , , , ,

asp.net | IIS