Main > Software Forum
HTML5 FrontEnd
keilmillerjr:
--- Quote from: Fursphere on August 07, 2013, 10:47:37 pm ---
--- Quote from: keilmillerjr on August 07, 2013, 10:39:13 pm ---
--- Quote from: Fursphere on August 07, 2013, 05:15:28 pm ---I would be concerned with:
1) Browser compatibility
2) Future support as browers get updated
--- End quote ---
Don't use internet exploder. Use a w3c compliant browser. Problem solved. You could make your own browser for this purpose using the open source webkit. On a mac, I have seen videos where you can implement a webview using Xcode in minutes. Not sure about windows or linux.
--- End quote ---
I work in the web world (security mostly).
I was testing some code today and got slightly different results in IE8, IE9, IE10, Safari, Chrome, Firefox, and iOS Safari. They all did something a little different.
So while "Don't use Internet Exploder" sounds cute and all, the reality is that they all do things a little different.
--- End quote ---
I am an aspiring ruby web developer. I know a thing or two about cross-platform compatibility. When there is tons of different outdated ie versions that people are still using and are not w3c compliant, "Don't use Internet Exploder" is pretty sound advice.
If you are getting different results, you are probably using unofficial "css3". If you do use css 3, use sass and compass mixins to make your styles more cross browser friendly. A good css base (such as boilerplate or something similar) also helps, and many browsers have different default styles. I can design a website that looks identical in almost every browser. But when it comes to IE, I can only pull so many tricks out of the bag before it becomes counter productive.
Of course, if you implement this as a compiled app with a web view / webkit layer, you wouldn't have to worry about cross browser compatibility. You could them use webkit's css animations without worries. Webkit is quite powerful. The less javascript, the better. I hate that language. Coffeescript makes it better, but it only disguises it.
Player 3:
I'm trying to understand what exactly this is besides "a browser frontend." If it's going to launch MAME and perform low-level tasks like rebooting from a browser, this is quite a security concern regardless of intent. Plus there isn't going to be the real benefit of execution speed compared to a native frontend which will seem like a more friendly option for weaker PCs.
As for "Don't use Internet Exploder", this is bollocks. Any version from IE10+ is mostly HTML5 compliant, though the rendering engine will look awful and it being lacking in nature. If you want a browser to avoid, Konqueror is it. It explodes more than IE.
Fursphere:
Sorry, I'm guess I'm just stuck with IE because of all the crappy horrible business applications I have to deal with that won't run on other platforms. And all the cross compatibility crap that I have to deal with.
Player 3:
--- Quote from: Fursphere on August 08, 2013, 12:17:03 am ---Sorry, I'm guess I'm just stuck with IE because of all the crappy horrible business applications I have to deal with that won't run on other platforms. And all the cross compatibility crap that I have to deal with.
--- End quote ---
Worries for cross-browser compatibility is close to null once the HTML5 and CSS3 standards are more set in stone and prefix-free except for the occasional browser perk. As for the dealing with IE6, everywhere I heard that business still use it, it's because of a contract. A more recent contract may be using IE9/10 rather than IE6/7. Of course, I can't exactly say anything about IE other than the hour of using it and the OS jump.
arximidis:
--- Quote from: Fursphere on August 07, 2013, 05:15:28 pm ---I would be concerned with:
1) Browser compatibility
2) Future support as browers get updated
--- End quote ---
You don't need to worry about that. The app uses internet explorer's engine, so you don't need to be browser compatible. You don't run this inside a browser. It doesn't work that way. (note: however you can run it inside a browser to see how it looks, but you can't run the emulators or use the low level functions)
--- Quote from: keilmillerjr on August 07, 2013, 10:39:13 pm ---Don't use internet exploder. Use a w3c compliant browser. Problem solved. You could make your own browser for this purpose using the open source webkit. On a mac, I have seen videos where you can implement a webview using Xcode in minutes. Not sure about windows or linux.
--- End quote ---
I use internet explorer's engine, which is build in to windows (so no Linux, Mac support -> at least for now)
It's not necessary internet explorer to be installed on your system. Only the engine (which I beileive is preinstalled).
For my default theme I don't use html5 to play the intro videos. I am using media player instead
--- Quote from: Player 3 on August 08, 2013, 12:15:45 am ---I'm trying to understand what exactly this is besides "a browser frontend." If it's going to launch MAME and perform low-level tasks like rebooting from a browser, this is quite a security concern regardless of intent...
--- End quote ---
The low level code doesn't run inside the browser, so you will be safe. Also you don't use the app to surf the internet.
Moreover you get the html and javascript code and you can see how it works
The only way to have problems, is someone accessing the html files to the directory your theme lies, change the html code (on the background) and run the app. But if he is in the position to do all that, I believe you are already in deep problem (and in fact he doesn't need my app to do damage)
--- Quote from: Player 3 on August 08, 2013, 12:15:45 am ---...Plus there isn't going to be the real benefit of execution speed compared to a native frontend which will seem like a more friendly option for weaker PCs.
--- End quote ---
I installed hyperspin to a "weaker" PC and CPU usage was about 90% on idle
In my case (and for the same PC) CPU usage is close to zero. When the pictures are smoothly rotating, or the media player loads, I get some CPU usage, but even then is nothing.
That depends on how "heavy" your code will be.
The difference with this frontEnd is that when you run it, you get NOTHING. How will work, how will look, which emulators will support, depends on YOUR code (html/css - javascript).
Now, when I release the first version, I will include a custom theme (the one you see in the pictures), to see how it works, to get the code, modify it and do what ever you want.
In my custom theme I am supporting only MAME (and for now is not a full support as more code must be written)
I understand that this frontend is more suitable for people that know how to program using html/css and javascript
--- Quote from: keilmillerjr on August 07, 2013, 11:22:33 pm ---..........
The less javascript, the better. I hate that language. Coffeescript makes it better, but it only disguises it.
--- End quote ---
Hmm, First time I hear that. Jquery is a very powerful tool.
I hate java and not javascript. I have write code with java for android (in fact I wrote an app to control the machine and play games using my android smartphone as controls. I will demonstrate this in a video).
I could understand someone hating java, but javascript it's nice :)