Currently I'm working on some module, which I wanted to be fully functional without javascript enabled. Looking for some examples, I've looked at core modules with disabled js. And I found some important areas which are inaccessible without javascript. For example: Blocks. To sort blocks javascript is required. The same goes for extmenu. To be truth - until now, I was convinced that the core is fully funcional without javascript (as for example Permissions are).
So there is a question to core team: should we care about fully degradable javascript? Is core supposed to work without enabled javascript? What are the plans in this area?
I'm asking because if core wont be prepared to work without javascript - there is no sense to care about this while creating modules.
And if there are plans to make core working without js - there are also areas in which some improvements are possible to make this task easier (for example - pnForms framework).
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi
Forum Activity
- Minor issue upgrading from 1.2.1 to 1.2.2 on Feb 09
- Is Zikula right for my project - social network w/ collaborative content on Feb 09
- is the svn ezcomment gettext usable ? on Feb 09
- where is the credit module for zikula ? on Feb 09
- avatar gettext ? on Feb 09
- Problem with BlankTheme themevariables.ini on Feb 09
- Adding pagevars from template on Feb 09
Zikula Blog
- How to Become a HipHop Fan on Feb 03
- HTML5 on Feb 02
- Support Free Software on Jan 22
- Module Files available on Dec 13
- Why I love Zikula (Reason #768) on Nov 11
- Theme Creator? on Nov 08
- Time to Embrace PHP 5 on Nov 08
Login
Degradable javascript - do we care?
-
- Rank: Team Member
- Registered: 07.04.05
- last visit: 19.01.10
- Posts: 216
-
- Rank: Professional
- Registered: 23.11.03
- last visit: 13.12.09
- Posts: 1486
+1 for caring.
There are browsers, and people do use them, that don't do javascript. That being said, it's practically required now a days to get full functionality from 80% of the popular internet. But I'd like to think that Zikula degrades gracefully.
--
Under Construction! -
- Rank: Team Member
- Registered: 07.09.06
- last visit: 09.02.10
- Posts: 2112
Well, IMHO this topic hurts
lately i've been playing with JS and Prototype, and thinking on mini frameworks to code things easy like sortable and manageable lists of any kind of items, seems like it's complicated to not work with JavaScript enabled because how can you have a sortable list into a block? Permissions and Blocks: easy, user functions, but blocks?
Core Modules should degrade gracefully (Blocks can copy the Permissions stuff),
but some stuff is just pretty hard to take care...
i wonder if it's possible to have a toolkit or documentation about this topic,
and common practices... that can be very nice!
and i could write about sortable item lists (improved technique of the Block Module)
and think how to degrade it
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Professional
- Registered: 24.08.03
- last visit: 09.02.10
- Posts: 1016
Take also into account that there is a difference in User and Admin access. You can expect an Admin to have a modern browser with JS enabled (or not ?). But regular usage of a module with JS should degrade nicely IMHO.
But striving for degradability in the Core is a good thing.
--
erikspaan.nl, avwijchen.nl
Into: BlankTheme, News module, zikula.nl -
- Rank: Helper
- Registered: 30.03.05
- last visit: 14.12.09
- Posts: 224
I agree with espaan.
IMHO only the user interface HAS to be degradable.
--
Zikula Italia
SimpleGallery -
- Rank: Steering Committee
- Registered: 20.01.03
- last visit: 02.02.10
- Posts: 321
The core devs once decided to make also the administration degradable, as this is another important argument against other systems.
Most JS really is unobstrusive, there are a few places where this hasn't been considered yet though (like the Blocks administration).
There also was an open bug report in the NOC about that. So I think that it is probably going to be fixed in a later version.
--
-
- Rank: Team Member
- Registered: 07.04.05
- last visit: 19.01.10
- Posts: 216
Guite
The core devs once decided to make also the administration degradable, as this is another important argument against other systems.
Good to know. But it would be even better if this would be also included in the Guidelines for Module Developers and Core roadmap
Guite
Most JS really is unobstrusive, there are a few places where this hasn't been considered yet though (like the Blocks administration).
I think that more important would be to make pnForms framework fully independent from js. Right now it isn't (eg. simple autopostback property for dropdownlist plugin, which use onchage event or more complicated - contextmenu).
pnFomrs are realy great tool, which should be used by module developers. But if pnForms are depending on js - all modules based on it will depend on js too.
nestormateo
Well, IMHO this topic hurts
No - not using javascript is painful
edited by: Jusuff, Oct 07, 2008 - 12:28 AM
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi -
- Rank: Team Member
- Registered: 07.09.06
- last visit: 09.02.10
- Posts: 2112
Jusuff
No - not using javascript is painful
That's why this topic hurt me
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Team Member
- Registered: 08.12.03
- last visit: 06.02.10
- Posts: 2701
http://community.zikula.org/module-Forum-viewtopic-topic-54237-start-0.htm This has been discussed a bit before
--
David Pahl
Zikula Support Team -
- Rank: Steering Committee
- Registered: 20.01.03
- last visit: 02.02.10
- Posts: 321
Jusuff
Good to know. But it would be even better if this would be also included in the Guidelines for Module Developers and Core roadmap
Okay. Did you edit it accordingly?
--
-
- Rank: Helper
- Registered: 13.08.03
- last visit: 17.01.10
- Posts: 106
As a non-dev but network admin I have to say that JS is evil. It is executed not on the server but on the client machine. I see the issue not so much with more or less modern browsers, but with people who simply disabled JS.
See it this way: Why is that site executing a program on my computer just to show me something? Can I trust that program and that site? That's why network admins not necessarily like it. But people who write trojan downloaders do... Where I can, I replace JS with CSS or PHP.
Just to add a different angle to the discussion...
--
And out of the chaos sounded a voice and spoke: "Be happy and smile, for it could have come worse."
And I was happy and smiled - and it came worse... -
- Rank: Team Member
- Registered: 08.12.03
- last visit: 06.02.10
- Posts: 2701
I no longer see JS as just adding some effects to onclick... Ajax has given us the ability to smooth out complex UI functions. Disabling JS is not practical on sites that are more than just pages, but applications.
To have a nice user experience, Ajax is simply needed to streamline and polish the interface. I cannot see creating complex & practical apps without it...
We live in these times... and we set the standards... A no JS policy is not practical in today's web application interment, maybe it was 3 years ago, but it is no longer today....
Just my 2ยข.
--
David Pahl
Zikula Support Team -
- Rank: Helper
- Registered: 13.08.03
- last visit: 17.01.10
- Posts: 106
Well, that's the world as seen by a web developer. I just wanted to show the world as seen by network admins. From that point of view, Ajax is just another name for JS, and it is still code executed on a client computer.
I know, ActiveX is even worse, and I have seen organizations using ActiveX just to input numbers(!) into their web app (student scores into the administrative system, to be more specific), but that does not make JS better from a network security point of view, it's just that there are worse things. JS is still very popular today (they didn't stop that practice three years ago) in the botnet industry to deliver payload to their prospective clients.
A web developer does not set all standards and there are people who see things in a slightly different light. I just wanted to highlight this point, in case nobody noticed it...
--
And out of the chaos sounded a voice and spoke: "Be happy and smile, for it could have come worse."
And I was happy and smiled - and it came worse... -
- Rank: Professional
- Registered: 24.08.03
- last visit: 09.02.10
- Posts: 1016
I think that is also why there is the aim for a fully JS degradable Zikula. It's good to hear different point of views to this kind of stuff
Also as a web developer aiming for CSS and/or PHP sounds like a good practice, instead of loads of JS. JS can also slow things down a lot if you're using big libraries (like prototype, scriptaculous in unpacked form etc).
--
erikspaan.nl, avwijchen.nl
Into: BlankTheme, News module, zikula.nl
- Moderated by :
- Support
Users online
This list is based on the users active over the last 60 minutes.
