Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Mobile
 PowerHome Messageboard : PowerHome Mobile
Subject Topic: Open Source Mobile App Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: February 16 2011 at 05:36 | IP Logged Quote kev21986

I am considering porting the old iHome iPhone app into an HTML5 web app.
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 View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
raven77m
Newbie
Newbie


Joined: December 31 2006
Online Status: Offline
Posts: 24
Posted: February 16 2011 at 13:22 | IP Logged Quote raven77m

Count me in!!!
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 View raven77m's Profile Search for other posts by raven77m
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: February 16 2011 at 13:59 | IP Logged Quote kev21986

Thats great. I would love to see it. I have never really messed with Sencha
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 View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
raven77m
Newbie
Newbie


Joined: December 31 2006
Online Status: Offline
Posts: 24
Posted: February 16 2011 at 20:52 | IP Logged Quote raven77m

Well like I said, I am no expert!
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 View raven77m's Profile Search for other posts by raven77m
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: March 09 2011 at 04:01 | IP Logged Quote kev21986

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/

__________________
Kevin Smith
@respectTheCode
Back to Top View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
raven77m
Newbie
Newbie


Joined: December 31 2006
Online Status: Offline
Posts: 24
Posted: April 01 2011 at 09:12 | IP Logged Quote raven77m

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 View raven77m's Profile Search for other posts by raven77m
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: September 26 2011 at 15:47 | IP Logged Quote kev21986

So I finally started working on this again. It is now on Github if you want to
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 View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: September 26 2011 at 16:21 | IP Logged Quote MrGibbage

It seems kinda strange entering in my PH server, username and
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 View MrGibbage's Profile Search for other posts by MrGibbage
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: September 26 2011 at 16:29 | IP Logged Quote kev21986

You can look at the source on github. It is stored in a session store in
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 View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: September 26 2011 at 16:32 | IP Logged Quote kev21986

This is the file that processes the login.

http://bit.ly/ptoiZo

Edited by kev21986 - September 26 2011 at 16:35


__________________
Kevin Smith
@respectTheCode
Back to Top View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum