| Author |  | 
      
        | kev21986 Senior Member
 
  
  
 Joined: April 04 2007
 Location: United States
 Online Status: Offline
 Posts: 199
 | 
          I am considering porting the old iHome iPhone app into an HTML5 web app.
           | Posted: February 16 2011 at 05:36 | IP Logged |   |  
           | 
 |  The goal would be to have it setup in a way that it could be easily wrapped
 as an iOS/Android/Windows Phone app or even a Chrome extension /
 Firefox add-on. I don't really have the time to do all of this in any reasonable
 amount of time so I would make it open source. I am thinking that I would
 host the server, but give instructions so that a user could setup their own
 server.
 
 Are there any web developers / designers out there that would be interested
 in helping?
 
 __________________
 Kevin Smith
 @respectTheCode
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | raven77m Newbie
 
  
 
 Joined: December 31 2006
 Online Status: Offline
 Posts: 24
 | 
          Count me in!!!
           | Posted: February 16 2011 at 13:22 | IP Logged |   |  
           | 
 |  I have an iPhone webapp built using the Sencha touch framework
 (awesome btw)
 I am by no means a expert, but if I can help I will do whatever ya
 need!
 
 Thanks!!
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | kev21986 Senior Member
 
  
  
 Joined: April 04 2007
 Location: United States
 Online Status: Offline
 Posts: 199
 | 
          Thats great. I would love to see it. I have never really messed with Sencha
           | Posted: February 16 2011 at 13:59 | IP Logged |   |  
           | 
 |  but from the research I have done it sounds like its the perfect framework
 for this.
 
 The thought is to use node.js for the server and Sencha Touch for the
 client.
 
 I have a simple proof of concept node.js webservice setup that makes a
 socket connection to PH and forwards a PH formula. It's surprisingly fast. I
 will give you a link when I get a chance.
 
 I would love to remove the server from the picture, but the PH webserver
 is to slow to host all of the files.
 
 I don't have any hard data but I think the PH socket server is quite a bit
 faster than a call to the /ph-cgi/eval page on the PH web server.
 
 __________________
 Kevin Smith
 @respectTheCode
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | raven77m Newbie
 
  
 
 Joined: December 31 2006
 Online Status: Offline
 Posts: 24
 | 
          Well like I said, I am no expert!
           | Posted: February 16 2011 at 20:52 | IP Logged |   |  
           | 
 |  In fact I "borrowed" some code from your site back before sencha and before you made a full blown app.
 You had a few PHP snippets on your website.
 I use Apache and powerhome.  I have a PHP file that I forward my requests to in apache and that calls .psp files that I have on the powerhome server.  It is actually pretty darn fast too!  for a webapp it amazes me!
 You really should take a look at Sencha, it is awesome!  I am not really to great with it yet but nobody believes my automation app is just a webapp.  It can do everything a normal app can!  If I am not to lazy later I will post a few pics.  But they won't do it justice, you have to use it to appreciate it!
 Go check out their "Kitchen sink" example and prepare to be amazed!  unless of course I am just easily amazed which is very possible.  lol
 If you cant find it let me know and I will post a link!
 
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | kev21986 Senior Member
 
  
  
 Joined: April 04 2007
 Location: United States
 Online Status: Offline
 Posts: 199
 | 
          Here is a link to the proof of concept node.js server and a simple test page.
           | Posted: March 09 2011 at 04:01 | IP Logged |   |  
           | 
 |  It takes a server address, port, user and password and sends the command
 to the PH socket server.
 
 http://ph.no.de/
 
 __________________
 Kevin Smith
 @respectTheCode
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | raven77m Newbie
 
  
 
 Joined: December 31 2006
 Online Status: Offline
 Posts: 24
 | 
          
           | Posted: April 01 2011 at 09:12 | IP Logged |   |  
           | 
 |  
| kev21986 wrote: 
 
    
    | 
      
       | Here is a link to the proof of concept node.js server and a simple test page. It takes a server address, port, user and password and sends the command
 to the PH socket server.
 
 http://ph.no.de/
 |  |  |  Thanks Kevin!  This works pretty nice!
 Any chance we could get the source for eval.json file?
 Thanks!!
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | kev21986 Senior Member
 
  
  
 Joined: April 04 2007
 Location: United States
 Online Status: Offline
 Posts: 199
 | 
          So I finally started working on this again. It is now on Github if you want to
           | Posted: September 26 2011 at 15:47 | IP Logged |   |  
           | 
 |  contribute.
 
 
 https://github.com/respectTheCode/ctrlHome
 
 no.de made some changes so I had to make a new VPS to take advantage of
 so the sample is now at http://h.no.de.
 
 Edited by kev21986 - September 26 2011 at 15:51
 
 __________________
 Kevin Smith
 @respectTheCode
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | MrGibbage Super User
 
  
  
 Joined: October 23 2006
 Location: United States
 Online Status: Offline
 Posts: 513
 | 
          It seems kinda strange entering in my PH server, username and
           | Posted: September 26 2011 at 16:21 | IP Logged |   |  
           | 
 |  password in a non-encrypted site. Also, what do you do with
 that information? Would it be possible for you to post some
 screenshots?
 
 __________________
 Skip
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | kev21986 Senior Member
 
  
  
 Joined: April 04 2007
 Location: United States
 Online Status: Offline
 Posts: 199
 | 
          You can look at the source on github. It is stored in a session store in
           | Posted: September 26 2011 at 16:29 | IP Logged |   |  
           | 
 |  memory and then deleted when the session expires. I will look into https.
 Setting it up to accept https is simple I just don't know if Joyent allows it on
 the free no.de servers.
 
 Right now all that is functional is an ajax form to run formulas and the login
 / session tracking.
 
 __________________
 Kevin Smith
 @respectTheCode
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | kev21986 Senior Member
 
  
  
 Joined: April 04 2007
 Location: United States
 Online Status: Offline
 Posts: 199
 | 
          This is the file that processes the login.
           | Posted: September 26 2011 at 16:32 | IP Logged |   |  
           | 
 |  
 http://bit.ly/ptoiZo
 
 Edited by kev21986 - September 26 2011 at 16:35
 
 __________________
 Kevin Smith
 @respectTheCode
 | 
       
        | Back to Top |       | 
       
       
        |  |