Hi, I am totally new here and am trying to plan out the best way to implement my app. I already have a working system as a traditional php generated web application, but with no REST api or anything fancy. It is slow and not very responsive. So I plan on redoing it in Appery ![]()
Q1- I need to have a version that runs in any device or PC browser, but I also want essentialy the same functionality in device app version. The device version will have one additional thing to it, a QRcode scanner. Obviously, the camera is only available to native device apps. My question is, can I use the same app project, but in the code detect if it is running as html5 web app abd so turn off the button that activates the qrcode scanner? If not, can I atleast change the warning message that triggers if thenative camera is attempted from a web app, telling people how to get the device app?
Q2- Can an app have different default page, for the logged in and not logged in condition. Much of my system is public, in that no membership is required to use it. However, I do need an optional membership only menu and pages. On my php version now, I actually have two separate apps, which is kinda a pain to keep un-to-date. Have one appery app, which would work both ways would be great.
Q3- are there examples anywhere of how to create simple REST php codefor the server? Then I could just write those and use my own backed right? Otherwise I will need to create new database and code in javascript on appery right?
Q4 - are appery web apps responsive to changes in device or browser widths? 80% of my users are coming thru phones, 5% tablets, 15% on PCs.
Q5- If I have to do things myself in appery server code, can I send emails out from the server side? currently, my php system does emails on the server of my host. If i can't do it in javascript server coding, then would I call something like email sending from my server code to my external php code on the servers I am on now? in other words, would REST be used from js server code to php server code?
Q6- i see how to export html5 client apps for upload to an external website server, in case I need to do that, BUT what about porting the js server code? Is that possible! like to run in my own node.js instance outside of appery?
In summary, your system looks like it meets most, if not all my criteria. If you can help me understand my 6 questions above, I will start up a test asap. The only thing that I am weakest on is the js programming, being 99% php and 1% js now... but I can try ![]()
Thanks and peace,
Jamie