Hi Ian,
Firstly - I’m really liking HaxeUI more and more. Thank you!
I’ve come from developing business type system with LAMP backends (with mix of SQL/server and mysql) and frontends primarily in Adobe Flash and Adobe Air (both desktop and iOS/Android).
The HaxeUI stuff looked great when I saw it few years ago, and earlier this year I moved properly to developing/moving to Haxe (and away from Flash).
I’ve been working on foundation stuff - learning Haxe, trial and error etc. After 6 months of mostly backend work on Haxe (Haxe services on node js talking to SQL/server and mysql across our cloud systems), I finally came around to needing to work on the UI - HaxeUI!
I was looking forward to doing so…
Since I needed to have mostly browser based screen (replacing our Flash based apps), I have aimed for HaxeUI and html5.
1 - First Question - textfield iOS Safari issue
My first screen is simple (but important for us), I’ve re-developed a payment gateway screen in HaxeUI. Testing on Chrome, FireFox, IE all worked well.
I used your example responsive example/demo as a guide and spent the week getting it working.
My current issue I came across tonight was on iOS Safari - The sign on area which has one username field and one password field won’t let me type the password/PIN.
I can’t even login to the app/page.
It shows one character and when I type the second character it overwrites the first character. I can’t copy/paste into the control. Long-press on the field does not show the iOS copy/paste popup.
I tried turning off the password property, removing the onchange handler.
Still no go.
The definition seems pretty vanilla:
Anyway - any ideas on this iOS/safari textfield keyboard issue? Possible workarounds?
If you want to see the issue, message me I’ll send you the link to the screen so you could see the issue yourself.
2 - Second Question - general production app questions
With my first production app out the door, now I’m coming across practical stuff:
-
JS Size: I noted that my simple screen has 4mb .js file. If I build more complex screen with
multiple tabs, is there a way to share/reuse .js files to avoid having monolithic .js files. Is there any Haxe and even general js tips that can help? -
JS Security: For the frontend I’m aware that all code can be inspected - I’ve tried somewhat to code with this in mind. Is there any general resources/areas on this you would recommend?
-
JS Load speed: Are there any good examples/techniques of a pre-loader screen that can help smooth/speed the loading experience? My first screen stays blank for several seconds and then suddenly displays. I’ve seen lots for js with all the different toolkit/approaches - but it’s hard for me to know what might be good for haxe. Can you point me at something?
Anyway, Thanks again - if you can shed any light on the iOS issue or tips it would be great.
Now I’ve got a working HaxeUI production screen and a week of heavy duty coding behind me I’m keen to do more asap.
cheers
Javy
PS: Update - I tested On MacOS Safari - seems Safari is issue. FF and Chroms OK on MacOS