[Koha-devel] To React or not to React

Rodrigo Santellan rsantellan at gmail.com
Mon Sep 19 15:18:09 CEST 2016


Arthur,

I believe that foundation is an alternative to bootstrap. React JS is on
the league of backbone, angular and ember.

I have use React JS on a project and the best thing about it is the
possibility of rewrite really small parts of the page. Create small widget
to increase the functionality and keep turning the old page in a new way.
One of the best thing for me about react is that is only frontend
development so it has less impact on a migration and you can really
decouple the backend.

My cons are that the documentation is not that good, they want you to write
the new code on ES6 but there is not that much documentation on that.
Another thing is that you need nodejs to compile it so is another thing to
throw on the stack.

Just my grain of sand!

Cheers!

On Mon, Sep 19, 2016 at 9:59 AM, SUZUKI Arthur <arthur.suzuki at univ-lyon3.fr>
wrote:

> Since you're talking about JS/CSS Frameworks, what about Foundation?
> http://foundation.zurb.com/
> This one is cool too!
> Best regards,
> Arthur Suzuki
> University Jean Moulin Lyon 3
>
>
> Le 19/09/2016 à 14:33, Philippe Blouin a écrit :
>
> Can I not be against, yet still have concerns?  :)
>
> I'm glad you so gallantly dumped Angular, which I would have raised my
> hand Against since that thing obsolete past code every 6 months.  But I do
> not know React.  Could you sell me more the big plusses to do that.  What
> will it replace, do you have an example?  What about all the code waiting
> approval right now, will it become obsolete because non-Reactive ?
>
> All the big previous changes (bootstrap, dbix...) were not without pain,
> espeicially for those outside the core, not coding these technologies 24/7.
>
> And how do you see React evolving in the next 5 years?  Keeping up with
> bootstrap requires huge effort (if/when we upgrade).
>
> Again, I know little.  Please don't ask me if I'm against, but give me
> your big sales pitch. :)
>
> Cheers,
>
> Philippe Blouin,
> Responsable du développement informatique
>
> Tél.  : (888) 604-2627
> philippe.blouin at inLibro.com
> inLibro | pour esprit libre | www.inLibro.com
> On 09/19/2016 08:18 AM, Kyle Hall wrote:
>
> Thanks for the feedback Stefano!
>
> Please, if anybody is *against* the use of React in Koha, please voice
> your concerns!
>
> Kyle
>
>
> <https://secure2.convio.net/cffh/site/Donation2?df_id=1395&FR_ID=4715&PROXY_ID=2706639&PROXY_TYPE=20&1395.donation=form1&s_src=CHORUS&s_subsrc=CHAADOEB>
>
> http://www.kylehall.info
> ByWater Solutions ( http://bywatersolutions.com )
> Meadville Public Library ( http://www.meadvillelibrary.org )
> Crawford County Federated Library System ( http://www.ccfls.org )
>
> On Fri, Sep 16, 2016 at 9:50 AM, Stefano Bargioni <bargioni at pusc.it>
> wrote:
>
>> My +1 for React. Angular requires a specific skill, other than Javascript.
>> Stefano
>>
>> On 15 set 2016, at 19:22, Kyle Hall <kyle.m.hall at gmail.com> wrote:
>>
>> I have my proof of concept for using React within Koha completed! You
>> can see it here: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17297
>>
>>
>> Please give it a try!
>>
>> So, I've written this development ( at least in part ) in both Angular
>> and React. I know Angular 2 is out but here are my thoughts so far.
>>
>> 1) It's much easier to think in React than in Angular. React is for the
>> most part just Javascript. It's far less opinionated than Angular. They
>> saying goes React is Javascript and Angular is Angular. I think the
>> flexibility of React works well within the Koha ecosystem.
>>
>> 2) Writing React feels much more like programming. I think it's much
>> faster to develop reactive and ajax features in React than it is using
>> jQuery.
>>
>> 3) React makes it pretty easy to create widgets that we can drop in to a
>> given page and have just work. Pretty much anything that shows up on
>> multiple pages would make for a good React widget. Think the holds table
>> which is on the checkouts page and the patron details page. It is ajaxified
>> now, but a far far cleaner version could be written in React.
>>
>> 4) React is just a view layer. Angular is a full MVC framework with many
>> pieces we don't really need.
>>
>> I think React is probably the way to go for Koha. I like Angular but for
>> Koha in particular, I think React is a better fit. I think we really
>> need to get this decision made as soon as possible. If anyone has opinions,
>> please let everyone know!
>>
>> Kyle
>>
>>
>> http://www.kylehall.info
>> ByWater Solutions ( http://bywatersolutions.com )
>> Meadville Public Library ( http://www.meadvillelibrary.org )
>> Crawford County Federated Library System ( http://www.ccfls.org )
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
>>
>>
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
>
>
>
> _______________________________________________
> Koha-devel mailing listKoha-devel at lists.koha-community.orghttp://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
>
>
>
> _______________________________________________
> Koha-devel mailing listKoha-devel at lists.koha-community.orghttp://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
>
> --
> Arthur SUZUKI
> Service informatique des bibliothèques
> BIBLIOTHÈQUES UNIVERSITAIRES
> Université Jean Moulin Lyon 3
> 6 Cours Albert Thomas - B.P. 8242 – 69355 Lyon Cedex 08
> ligne directe : +33 (0)4 78 78 79 16 | http://bu.univ-lyon3.fr
> L'Université Jean Moulin est membre fondateur de l'Université de Lyon
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20160919/e00b4786/attachment-0001.html>


More information about the Koha-devel mailing list