This topic is locked
[SOLVED]

 Desktop apps with PHPRunner

6/19/2015 3:10:33 PM
PHPRunner General questions
HJB author

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=23209&image=1&table=forumtopics' class='bbc_emoticon' alt=':rolleyes:' /> Admin, you had been reading my mind since long by today's mail circular. In fact, I appreciate it, moreover own efforts on DESKTOP .exe compilations had been unheard within my environment, most probably due to the fact that I had been flying too high ...

lefty 6/19/2015

I also have been anticipating this . If you are just an html,CSS and some JavaScript knowledge as well as a PHP programmer and we can get this packaged as well as get some help with mobile . It will also make it easier for mobile apps . I have tested phonegap outside PHPRunner . If someone can connect this to phonegap application with PHPrunner the possibilities are endless and on top of It make PHPrunner so much more valuable as the other API's out there just cannot do this or are very complicated as PHPrunner will be able to do. "( opinion )" .
It comes down to tutorials to use cross origin browser calls and GET / POST and AJAX/JSON in PHPrunner to connect . Unbelievable if we can get examples events in tutorials to do this. They would get more customers buying this product and a lot of existing customers upgrading.

  1. Tutorial to package to exe PHP web application and mobile tutorials related to PHPrunner events or code snippets.
  2. Tutorial to GET / POST / AJAX / JSON data from PHPrunnner and incorprate to mobile or desktop applications
  3. Tutorial to write a webservice to connect to PHPRUNNER DB MYSQL / MSSQL .
  4. Tutorial to really understand how PHPrunner uses JSON ARRAYS and how to get properties of certain values from the JSON data in a PHPrunner event. MISC UPLOAD tutorial just does not cut it as in tutorial now. just search JSON in this forum and you can clearly see there are no clear answers except a link to MISC UPLOAD event. If someone has one other than admin please post.
    This may be easy for experienced mobile programmers who have used PHP and the above before . I just moved over from Classic ASP so you understand my issues.

HJB author 6/20/2015

John, marvelous posting <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=77457&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />

I fully agree. As M$ insider I'm already through Windows 10 for PC and Windows Phone 10 beta test issues since some weeks and solely use the sleeping mat called CONTINUUM by M$ for cool resting until September this year where the M$ products CITYMAN and TALKMAN would/could swallow Xlinesoft compiled stuff like hell as these 6 and 8 processor kerneled smartphones are fired by Snapdragon CPU which can serve TWO Screens of different content at the very same time. Example: You are taking/making calls on tiny SCREEN ONE while the much loved Xlinesoft compiled stuff is running on larger SCREEN TWO, powered by wireless connection with the smartphone. So..., we would still have very few months to create and to run through tutorials on Xlinesoft compiled stuff to have our products ready by September this year, sequel to the BizWiz: WE DON'T SELL WINE BEFORE IT'S TIME! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=77457&image=2&table=forumreplies' class='bbc_emoticon' alt=':D' />
P.S. https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer - Or we go the most simple way, say, using the $9 Linux OS computer, putting MariaDB on it to avoid license oriented trouble and plan a take-off into the orbit with XLINESOFT APPS RUNNER, sloganed: WE MAKE APP EASIER <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=77457&image=3&table=forumreplies' class='bbc_emoticon' alt=':)' />

C
CodeDog 6/20/2015

Can't wait to see this implemented. I've been looking for a new system to create desktop database apps for a while now...

S
smez 6/21/2015

I echo the views of others here.
The main mailshot question is "is that something that can be potentially useful for your business?" - Yes Sergey, go for it!

HJB author 6/21/2015

Admin, while developers usually launch from a W7 OS platform to avoid trouble-shooting on coding issues, the compiled stuff is a total other arena, with coming 29th July 2015 release of W10. I had been shortly testing the CALENDAR.exe on another machine with W8.1 and the trial to delete records gave errors along with a PHP pop-uop window. In other words, once APPS stuff would be generated, the users won't ask why developers use W7 to produce the product, they simply follow the trend of W10 free upgrades as off W7 in no distant time, say, it won't help now to simply run for reasons why the CALENDAR.exe didn't work, it wouldn't hit the basic crackpoint here at all, it is a general question here on how to commonly see the coming market development and to find one's proper role in between the user and the developer communities on either desktop apps or else.

lefty 6/24/2015

Try This Link provide by admin Package an PHP web application. I will be testing this and if anyone else tests it please reply here on this subject with your code , thoughts and results. IT's rather technical but in the right direction . Let's keep this post going until we get it right. The Tutorial is kind of old but you can get the picture . It emulates very similar to packaging any other application which is now one way to use www. folders html index.htm and JavaScript as well as CSS to do all this for you and It actually builds the application for you ( similar to what phonegap does for mobile). . But Sergey has the right attitude of just packaging the script as a desktop application . So we are talking about 2 things here.

  1. If you just want to package a PHP web application for desktop see the link in the first sentence here.
  2. If you want to go further and package for mobile go to PHONEGAP.com . You will have to write a web service custom php script to post data to your PHPRunner application ex.. login and so forth see this link from Sergey to post to web application to get data from external application and Database . ( this is more advanced then the first option . ) This will involve a lot of JSON or XML , But I think JSON is the way to go here. JUST need service that will comply with PHPrunner app without major customizations.
    This can work on you mobile and you can call external MYSQL database . I have not been able to do this with PHP runner and that's why I posted this I can do outside phprunner in an hello world sample ; but we need something from admin help us make the call in an event and call an custom external PHP file ( Get / Post )service to get data from MySQL and incoparate to a mobile application . I would think this is the same as the desktop application also.
    Any ideas will always help . So let's get this started..............
    If this sounds confusing ....
  3. Packaging is one thing see above
  4. If this part for you is mobile ; you need to use cross orgin browser security as browsers won't accept a callback from another URL. SO what do we do See the phonegap tutorial above for cross browser request.
  5. The biggest issue is how do we login from a mobile application or even a desktop application to PHPrunner if the database is not part of the desktop application but is stored on the server or are on a different server ; then you need to look at the first link above and the mobile link and put it altogether. I wish we can blog this whole process. This is the way to go if you don't know JAVA and eclipse.
    Walk2fly, let's get this working in windows 7 or 8.1 before we worry about 10 . I know it's coming shortly but packaging app should still be same concept . I haven't looked at MSDN windows 10 developer site yet . But is there really issues with Window Installer or installing the sample package above in Windows 10. One step at a time will get us one step closer.

HJB author 6/24/2015

John, I had been passing that very gate already more than one year ago, say, 95 MB directory zips to 32.8 MB on deployment by e-mail attachment. I baptized this my thing "100% embedded solution" after succeeding to hop over to file storage based SQLITE3 with strong focus to 500 MB read/write cycle within SSD environment. Runs like hell and best, the .exe can be USB dongled by me. Problem, people around thought it to be a MERE joke, yet the "v0" of a bullet shot via such compiled stuff is enormous. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=77467&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

HJB author 7/16/2015