Postorius: Search Plugin for List
Hi, I am working on search plugin for lists and wondering what would be the best approach, using Ajax or reloading the page and which JS files. Do I need to write urls with the handler for JSON?I have made the UI for search list. What is the best way to approach. Best, Khushbu Parakhhttp://khushbu.strikingly.com/ Arya College Of Engineering and ITLinkedin: http://linkedin.com/in/khushbuparakh@khushbuparakh
On 06/11/2016 11:14 PM, Khushbu Parakh wrote:
Hi, I am working on search plugin for lists
I think this would be a nice addition to Postorius.
and wondering what would be the best approach, using Ajax or reloading the page and which JS files. Do I need to write urls with the handler for JSON? I have made the UI for search list. What is the best way to approach.
It depends. What functions would your search plugin support, how would it be used? I guess it also depends on what functions of mailmanclient you would use. Actually I think that neither mailmanclient nor core expose (efficient) methods that can be used to search for lists.
Khushbu Parakh writes:
I am working on search plugin for lists
You're proposing to find information about lists, not posts, right? What search criteria do you propose? Just name ~= posting address ~= List-Id?
and wondering what would be the best approach, using Ajax
Think about why you use AJAX. AJAX makes the most sense when you have large data that can be updated in pieces, or when you have interactive work that needs to be done on the server. (Javascript can be used entirely browser-side to improve UI interactivity, but that's not really AJAX.)
Does your proposed plugin fit either of those categories? Do you envision generalization that would fit?
I don't know how true it is these days, but traditionally Mailman has been used by many folks who refuse to use Javascript, so your plugin should be able to fall back to straight HTML (with or without CSS, for the sake of text browsers and blind users). That's not an absolute requirement, but do avoid anything really fancy that just won't work if you don't have everything enabled in the browser.
or reloading the page and which JS files. Do I need to write urls with the handler for JSON? I have made the UI for search list.
Screen shot, please!
(Most important, it shows us a lot about the amount of user interaction you are proposing.)
What is the best way to approach.
You tell us. ;-) (Your taste in technology counts, too!)
Steve
Hi,
So right now UI is just in HTML with no CSS. I will add CSS later to make it in perfect position. I tried to keep it simpler. What I think is AJAX is better option cause reloading the page just to get search results is something we don't like. I mentioned JS because all I want to know is backend process behind search, nothing related to UI and proposing criteria is list_name only. If list_id is useful we can show it too. PFA Thanks, Steve,
Best, Khushbu Parakhhttp://khushbu.strikingly.com/ Arya College Of Engineering and ITLinkedin: http://linkedin.com/in/khushbuparakh@khushbuparakh
Date: Mon, 13 Jun 2016 00:56:58 +0900 From: stephen@xemacs.org To: khushbuparakh@hotmail.com CC: mailman-developers@python.org Subject: [Mailman-Developers] Postorius: Search Plugin for List
Khushbu Parakh writes:
I am working on search plugin for lists
You're proposing to find information about lists, not posts, right? What search criteria do you propose? Just name ~= posting address ~= List-Id?
and wondering what would be the best approach, using Ajax
Think about why you use AJAX. AJAX makes the most sense when you have large data that can be updated in pieces, or when you have interactive work that needs to be done on the server. (Javascript can be used entirely browser-side to improve UI interactivity, but that's not really AJAX.)
Does your proposed plugin fit either of those categories? Do you envision generalization that would fit?
I don't know how true it is these days, but traditionally Mailman has been used by many folks who refuse to use Javascript, so your plugin should be able to fall back to straight HTML (with or without CSS, for the sake of text browsers and blind users). That's not an absolute requirement, but do avoid anything really fancy that just won't work if you don't have everything enabled in the browser.
or reloading the page and which JS files. Do I need to write urls with the handler for JSON? I have made the UI for search list.
Screen shot, please!
(Most important, it shows us a lot about the amount of user interaction you are proposing.)
What is the best way to approach.
You tell us. ;-) (Your taste in technology counts, too!)
Steve
On Mon, Jun 13, 2016 at 12:56:58AM +0900, Stephen J. Turnbull wrote:
Khushbu Parakh writes:
I am working on search plugin for lists
You're proposing to find information about lists, not posts, right? What search criteria do you propose? Just name ~= posting address ~= List-Id?
It might be nice from my point of view to be able to search by admins, owners, moderators, as well as (sub)domain (which may be via posting address).
-- "Bernard: It's another of those irregular verbs. I hold confidential briefings, you leak, he's been charged under section 2A of the Official Secrets Act."
participants (4)
-
Adam McGreggor
-
Khushbu Parakh
-
Simon Hanna
-
Stephen J. Turnbull