SMF Development > Next SMF Discussion

More flow to SMF.

<< < (2/4) > >>

AngelinaBelle:
Exactly.

If, for example, you get an AJAX update when you click a "Karma" type or "Rate this post" type button.

Benchtech suggested

--- Quote ---For example on forms, instant feedback with regards to passwords not matching etc.
--- End quote ---
This sort of thing would certainly be possible -- instead of a page load, some Javascript gives you a pop-up and/or changes the page content, to allow you to un-set the caps-lock key and try again.

Arantor:
There is already certain instances of that in SMF, like the username check when registering to make sure the username is valid and isn't already in use. Passwords not matching is also already instant feedback.

It's a bit different in the profile but I see no reason why that couldn't be done.

Though, really, it was more important to me to deal with the meat of the proposal:

--- Quote ---Also threads updating automatically without page loads and options in the moderation centre not being links but flowing more.
--- End quote ---

Which requires a lot more grunt than is currently practical to do.

Benchtech:

--- Quote from: arrowtotheknee on January 18, 2012, 04:17:49 PM ---There is already certain instances of that in SMF, like the username check when registering to make sure the username is valid and isn't already in use. Passwords not matching is also already instant feedback.

It's a bit different in the profile but I see no reason why that couldn't be done.

Though, really, it was more important to me to deal with the meat of the proposal:

--- Quote ---Also threads updating automatically without page loads and options in the moderation centre not being links but flowing more.
--- End quote ---

Which requires a lot more grunt than is currently practical to do.

--- End quote ---

Perhaps just a notification that it has been updated, then you can click to load it. I just used that as an example, I mean more the general flow such as not loading a new page to go between options on the settings page and that. If you look at a demo of IP.Board I like the flow of that, I don't know how intensive it is but they have it mastered pretty well.

Arantor:
It doesn't matter whether it's a notification or the full content... you still have to figure out that something has been updated, and you still have to do that every few seconds. It adds up and gets expensive.

If it were just a simple case of using notifications, we'd all be using the Enotify mod. Then we'd find our servers couldn't cope, like all the other people who already use that mod to do just that have found.

As for going between options on the settings page, honestly, it's not worth the effort of implementation, because you'd still have to provide a secondary option for partially-sighted users (in which case, you're creating a whole lot of extra work for very little benefit), and there are security matters to contend with too, that don't have the same problems when using regular page loads.

Fustrate:
If a server runs both PHP and something like Python or Node.js, we could actually do this quite easily with websockets. While PHP websockets are a pain, asynchronous languages have a much easier time maintaining and using the connections.

It's a thought for the future, one that I'm particularly interested in :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version