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

Reply via email to