GSoC 2019 [Buildbot ideas]

Pierre Tardy tardyp at gmail.com
Fri Mar 22 15:10:19 UTC 2019


On Fri, Mar 22, 2019 at 12:27 PM Rajdeep Bharati <rajdeepbharati13 at gmail.com>
wrote:

> I set up the project according to your PR and it's working fine using
> React. For setting it up with Vue, do I need to write the components in
> typescript? Also, I had a doubt: after making changes to the code and
> testing, do I need to run `pip install -e .` again and again? The webpack
> or gulp dev server isn't working for me.
>

You make the pip install -e . once,
and then, after that you can run

npm run watch

to rebuild the code.

You will need to be part of the plugin system to be able to query the
buildbot api.
buildbot has its own API for having the latest commit (the change api)

Pierre

>
> Rajdeep
>
> On Fri, Mar 22, 2019 at 3:38 PM Rajdeep Bharati <
> rajdeepbharati13 at gmail.com> wrote:
>
>> Thanks, I'll check it out.
>>
>> On Fri, Mar 22, 2019 at 3:12 PM Pierre Tardy <tardyp at gmail.com> wrote:
>>
>>> Hi Rajdeep,
>>>
>>> I created a pull request against the react boilerplate to cleanup the
>>> angular.js integration:
>>> https://github.com/uglycoyote/buildbot-react-plugin-boilerplate/pull/1
>>>
>>> I guess using this method should work better for you for vue.js as well.
>>>
>>> Pierre
>>>
>>> On Fri, Mar 22, 2019 at 9:10 AM Rajdeep Bharati <
>>> rajdeepbharati13 at gmail.com> wrote:
>>>
>>>> Yes, I can see it.
>>>>
>>>> On Fri, Mar 22, 2019 at 1:16 PM Pierre Tardy <tardyp at gmail.com> wrote:
>>>>
>>>>> Hi Rajdeep.
>>>>> I commented in the code. Do you see the comments?
>>>>>
>>>>> https://github.com/rajdeepbharati/buildbot-vue-plugin-boilerplate/commit/a1ff8178a327b52757d63e907036b6586a9cf5cc
>>>>>
>>>>> Pierre
>>>>>
>>>>> On Fri, Mar 22, 2019 at 8:35 AM Pierre Tardy <tardyp at gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Vue and React are the two major JS frameworks in 2018/2019. React is
>>>>>> still the major one, probably thanks to the fact that react-native is very
>>>>>> useful for mobile. So learning react allows you to make both webapps and
>>>>>> mobile apps (even if you cannot really share UI code between the two
>>>>>> frameworks)
>>>>>>
>>>>>> For the web, I like Vue better, recommend it and use it for all my
>>>>>> new web projects, because I think it is easier to use, and produce less
>>>>>> complex code for simple projects.
>>>>>> I think react best practices are oriented more toward very large web
>>>>>> apps, and using them for smaller apps is for me a waste of ressource.
>>>>>> React indeed only support one way binding, and forces people to use
>>>>>> state store like redux, which is for me very hard to use right, and
>>>>>> requires lots of boilerplate code.
>>>>>>
>>>>>> On the contrary, vue.js scales better and allows you to write clean
>>>>>> and readable code for small components, thanks to its support for two way
>>>>>> binding.
>>>>>> It is in my opinon easier for the beginner as its basic concepts are
>>>>>> simple to comprehend, and harder to make it wrong.
>>>>>> Vue still supports state store with vuex, which you can use when your
>>>>>> app is large enough to require it.
>>>>>>
>>>>>> So I think vue is the best compromise between ideas from angular and
>>>>>> ideas from react.
>>>>>>
>>>>>> This is good for a novice web developer to have experience in both,
>>>>>> hence I asked Rajdeep to also consider vue.
>>>>>> I challenged him to adapt the boilerplate to vue, because I was
>>>>>> impressed he was able to set up so quickly.
>>>>>> So I suggested a bit harder challenge to test how far we can go in
>>>>>> the expectations. This is fine to struggle on a challenge, or else it is
>>>>>> not a challenge :)
>>>>>>
>>>>>> Finally, challenge aside, you may decide which framework you want to
>>>>>> use in your project I don't want to force you :)
>>>>>>
>>>>>>
>>>>>> Pierre
>>>>>>
>>>>>>
>>>>>> On Fri, Mar 22, 2019 at 5:13 AM Mojca Miklavec <mojca at macports.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Dear Pierre,
>>>>>>>
>>>>>>> Out of curiosity: what is the difference between the two frameworks?
>>>>>>> I mean, not technical difference, but I assume that the solution would only
>>>>>>> be provided / written in one of the frameworks? Is Vue.js your internal
>>>>>>> preference or newer trend over React.js? (I have some experience with
>>>>>>> React, none with Vue.)
>>>>>>>
>>>>>>> Mojca
>>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> --
>>>>>
>>>>>
>>>>> --
>>>
>>>
>>> --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190322/9ca8e550/attachment-0001.html>


More information about the macports-dev mailing list