1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. GTA Network forum is now in archive mode.

Your Opinion Matters: Preferred library for CEF/UI elements

Discussion in 'Archive' started by andreasb, Jan 30, 2017.

Which library would you like to see used?

Poll closed Feb 2, 2017.
  1. React

    0 vote(s)
    0.0%
  2. Angular 2 (Framework)

    2 vote(s)
    12.5%
  3. Vue.js

    5 vote(s)
    31.3%
  4. jQuery

    9 vote(s)
    56.3%
  5. other (please comment)

    0 vote(s)
    0.0%
Thread Status:
Not open for further replies.
  1. andreasb

    andreasb Well-Known Member

    Messages:
    128
    Likes Received:
    61
    Joined:
    Aug 4, 2016
    Hey,

    So I've decided to put some hours into making open source UI elements for CEF, such as common login and registration screens. However, I need your opinion! There's an abundance of libraries and frameworks for making web applications (which, after all, CEF-based screens are).

    The most common library is jQuery, but that doesn't mean it's the better fit for this job. Personally I would prefer React, but I have a feeling that quite a few developers won't touch anything else than jQuery and thus not adopt the UI elements simply due to that.

    So, if you're interested in using open source CEF UI elements, which library/framework would you prefer that I (or others) used? Thanks!
     
    Adam likes this.
  2. Adam

    Adam Staff Member Administrator Webmaster Developer

    Messages:
    275
    Likes Received:
    146
    Joined:
    Apr 3, 2016
    Good initiative, keep it up.
     
    andreasb and Vladeksh like this.
  3. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    I vote for Vuejs because it's very simple, doesn't have any extra dependencies, and is very easy to learn.
     
    Jony and StreetGT like this.
  4. StreetGT

    StreetGT Senpai Global Moderator Wiki Moderator Developer

    Messages:
    201
    Likes Received:
    90
    Joined:
    Aug 8, 2016
    ++, Vue is really awesome.
     
  5. Adam

    Adam Staff Member Administrator Webmaster Developer

    Messages:
    275
    Likes Received:
    146
    Joined:
    Apr 3, 2016
    I think Angular is a good choice, Brace yourselves
    [​IMG]
     
    andreasb likes this.
  6. Vladeksh

    Vladeksh Member

    Messages:
    10
    Likes Received:
    4
    Joined:
    Dec 24, 2016
    I have always used Angular1-2 / Ember and several other frameworks for the development of MVVM applications (like ZK Framework -Java-), however I am not aware if these frameworks impact the performance of the CEF browser so I have used jQuery for now (and I hate it lol).

    And works well inside CEF? :=o
     
  7. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    I used to work with Angular 1 which was kinda nice, but now with Angular 2 it requires typescript and a bunch of other dependencies in order to run, it doesn't give you that much choice. (Or maybe the guides just start out saying "use Typescript" while you don't have to use Typescript? No idea.)

    With React, it seems like it's not really Javascript anymore, you basically write HTML inside of Javascript?? Seems not very lightweight, also seems to have a dependency on Babel.

    Vue is just a single javascript file that you include, and you use normal Javascript objects and functions. The documentation is very clear and it's very lightweight.

    Anyway, that's why I think Vue is a better choice than Angular or React. Just my 2 cents :=)
     
    Jony, M3L7Z, andreasb and 1 other person like this.
  8. Squalalah

    Squalalah Well-Known Member

    Messages:
    105
    Likes Received:
    29
    Joined:
    Jan 16, 2017
    In my case, i've only used JQuery. I regret to have voted because i didn't take a look to the other libraries.
    But, i really like Jquery because it is the more common (yes, i saw your post dammit, you stole my sentsnce :=( )), and for me, it is very understandable and easy to use.
     
  9. andreasb

    andreasb Well-Known Member

    Messages:
    128
    Likes Received:
    61
    Joined:
    Aug 4, 2016
    OK, so for now, Vue seems quite popular! I haven't used it in any projects before, so I could use this as an exercise to get into it.
    Suggestions for UI elements/screens (whatever you want to call them) are also very welcome!

    Keep the suggestions coming (and discussion going), thanks!

    That's correct. It doesn't require Typescript, but the Angular team does vouch for it (to the degree where Angular 2 docs are currently in Typescript-only mode).


    Yeah, that's a common feeling for those who haven't tried React, and I felt exactly the same. After having used it quite extensively for a couple of years, I'm having an hard time wanting to switch to something else, as the development approach/paradigm makes total sense atm. So looking into Vue would indeed be an healthy exercise :=)

    Sounds very tempting to avoid build steps and transpilation!
     
    Last edited: Jan 30, 2017
  10. M3L7Z

    M3L7Z Active Member

    Messages:
    66
    Likes Received:
    13
    Joined:
    Jan 7, 2017
    To be honest, I never heard of Vue, but I'm impressed!

    Can someone tell me the advantages and disadvantages of vue in comparison to other frameworks.

    I just found this awesome list related to Vue :=o
    https://github.com/vuejs/awesome-vue
     
  11. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    Well I wrote some of my thoughts on React/Angular/Vue in post #7.
     
    M3L7Z likes this.
  12. StreetGT

    StreetGT Senpai Global Moderator Wiki Moderator Developer

    Messages:
    201
    Likes Received:
    90
    Joined:
    Aug 8, 2016
    Vue is loved by Laravel community, version > 5.3 comes with Vue installed.
     
  13. andreasb

    andreasb Well-Known Member

    Messages:
    128
    Likes Received:
    61
    Joined:
    Aug 4, 2016
    I feel like I'm designing "blindfolded", because I don't know what style you'd prefer!
    I've tried to somewhat adhere-ish to the GTA 5 style instead of making it look very web-like, but I'm not sure if that's what you're after.

    Quick example, but I'm extremely open for feedback. Is this even close to something you'd be interested in? Speak out, speak loud!
    (click the spoiler)
    [​IMG]
     
    Vektor42O likes this.
  14. M3L7Z

    M3L7Z Active Member

    Messages:
    66
    Likes Received:
    13
    Joined:
    Jan 7, 2017
    @andreasb the image don't work for me :/
     
  15. andreasb

    andreasb Well-Known Member

    Messages:
    128
    Likes Received:
    61
    Joined:
    Aug 4, 2016
  16. M3L7Z

    M3L7Z Active Member

    Messages:
    66
    Likes Received:
    13
    Joined:
    Jan 7, 2017
    Yeah I can :=(
    It's very close to GTA V's style.
    I like it!

    I would add some fontawsome icons ;-)
    Maybe in a way like bootstraps "input-addon"
     

    Attached Files:

  17. M3L7Z

    M3L7Z Active Member

    Messages:
    66
    Likes Received:
    13
    Joined:
    Jan 7, 2017
    I have another idea for a login screen...
    Take the Template from the official GTA v loading screen (see picture) and put the inputs on the left side .. then u can use a picture on the right and many content on the left

    Edit:
    And if u take a closer look u'll see transparent Rockstar icons, that can replaced with the GTA:N Logo or a custom server logo
     

    Attached Files:

    Last edited: Jan 30, 2017
  18. andreasb

    andreasb Well-Known Member

    Messages:
    128
    Likes Received:
    61
    Joined:
    Aug 4, 2016
    Both good ideas, @M3L7Z! Thanks for the feedback, I'll see what I can do :=)
     
    M3L7Z likes this.
  19. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    Yeah I suggest sticking to the GTA 5 UI design.
     
  20. andreasb

    andreasb Well-Known Member

    Messages:
    128
    Likes Received:
    61
    Joined:
    Aug 4, 2016
    Vektor42O and M3L7Z like this.
Thread Status:
Not open for further replies.

Share This Page