While I generally agree, Bernhard, I think this misses the OPs point.
Stefan, ownCloud is - by it's very nature - a web application. Creating
well-working instant-feedback web applications without the use of JS
simply is not possible. So generally, the requirement of JS is not a
bug, and we will not support browsers that have JS disabled.
If however, there are special, valid use case that would make pure HTML
desireble (e.g. for automation), please bring it forward, although
usually this is where the REST or WebDAV-APIs are usually more useful.
So what are your use cases?
Daniel
On 03/01/2013 08:29 AM, Bernhard Posselt wrote:
Yes, its your typical jQuery project. JavaScript is not the problem,
the problem is like you said the often missing seperation between view
and logic and that makes it at least for me incredibly hard to
understand the code.
The solution is to use a proper JS framework like AngularJS
http://angularjs.org/ but this has been introduced very recently to
people. Also we have too less time for too many bugs, so people dont
really have the time to rewrite stuff.
Everyone who wants to improve the code/fix bugs is welcome though.
Just contact the people on the IRC/mailinglist if you need help.
PS: Disabling JS is not an option.
On 03/01/2013 08:02 AM, development wrote:
Is it me or is *a lot* of owncloud 5 functionality relying heavely on
Javascript, which do not degrade gracefully in browser whixh do not
support or has disabled the use of Javascript?
Is this intentionally, or are these bug reports?
There is quite some HTML generated through the js-files. I can not
see why this would be required to be in the JS, and not could be
handled through PHP.
When we could split functionality (through PHP) and user experience
improvements (mostly js), we could support more browsers and make
owncloud much easier to theme.
At the moment if someone would like to override the looks of a simple
form, the JS file from the (core) app is required to be included and
edited inside the theme. In my opinion this could and should be
handled in another way.
If people would like some examples, Im happy to provide any..
Kind regards,
Stefan Nagtegaal
Verzonden vanaf Samsung Mobile
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud
--
www.owncloud.com - Your Data, Your Cloud, Your Way!
ownCloud GmbH, GF: Markus Rex, Holger Dyroff
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud