Hey, On Wed, Mar 25, 2015 at 12:21 PM, Ana Badescu <anabee.em...@gmail.com> wrote:
> Hello, > > While writing my proposal I came across 2 important issues related to the > Javascript Client for the Mailman project that have yet to be raised: > > 1. What I initially had in mind, was to build a Mailman client in > Javascript that provides the same API and functionality that the current > one in Python does. The Python client API can be fully mimicked using a > number of design patterns even though Javascript doesn't offer properties > capability for example. However, node.js modules tend to take advantage of > Javascript's asynchronous nature and have adopted sort of a standard > practice to achieve it: it's called error-first callbacks, and most if not > all APIs enforce it. You can read about it here > http://thenodeway.io/posts/understanding-error-first-callbacks/ > and here > https://docs.nodejitsu.com/articles/errors/what-are-the-error-conventions > > This boils down if we want to provide a client API that adopts the node.js > conventions and works the same way most modules do or do we want to offer > something almost similar to the current Python client API. There's a lot > more to be said on this matter (for eg: callbacks being the reason why > "callback-hell" exists) but I'd like to get your input first. > Since, you will be working with Node,js ; you cannot get away from callbacks. This JavaScript port is not a simple port :) 2. I'd also like to make part of the project, a node.js application that > uses the Mailman Javascript client and offers all the functionality > Postorious does. Is that a good idea? This doesn't make the scope of the > project too large or unattainable. I cannot comment on this as I am a student just like you. > > > Thank you, > Ana > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers@python.org > https://mail.python.org/mailman/listinfo/mailman-developers > Mailman FAQ: http://wiki.list.org/x/AgA3 > Searchable Archives: > http://www.mail-archive.com/mailman-developers%40python.org/ > Unsubscribe: > https://mail.python.org/mailman/options/mailman-developers/ankush.sharma.ece12%40itbhu.ac.in > > Security Policy: http://wiki.list.org/x/QIA9 > Thanks, Ankush Sharma _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9