Giter Site home page Giter Site logo

Components, contributions about makepad HOT 6 CLOSED

makepad avatar makepad commented on August 19, 2024
Components, contributions

from makepad.

Comments (6)

makepaddev avatar makepaddev commented on August 19, 2024

Hi Andrew,
So, we are building the makepad-IDE to be really its own way to fully build applications, not just a widget in a webpage. Technically we could, but i just don't stand behind that path. We'd open a huge can of worms of 'widget-grabbers' who don't care don't wanna learn just 'make it do X'. Of course its MIT and you can do whatever you want, but i don't really wanna go and support or promote this way of using the tech.
Also yes, the tree can go much faster if you use virtual viewporting. However then the fancy live folding animations are much harder :)

from makepad.

makepaddev avatar makepaddev commented on August 19, 2024

Another reason is that building full applications in Rust, and Rust alone is simply a superior way to build applications. Much more stable than any JS or C++ could ever be.

from makepad.

andrewvarga avatar andrewvarga commented on August 19, 2024

I understand and respect that. I feel inclination to try to build a whole app with makepad but I'm wondering about development speed. If someone is as well-versed with rust / makepad as in web tech, how much slower do you think it is, and is it even feasible at this point to build a simple app like gltf.app?
For example:

  • The welcome window has a list of thumbnails, some of them being animated gifs, which in html is just some elements in a div. Would this be something that would need to be implemented in makepad?
  • How hard would layout be, compared to css flexbox?
  • Slight drop shadows around windows / color widget popup (not critical to have)
  • Would it be possible to use web-only apis easily, like "requestPointerLock" for infinite dragging on number inputs
  • Are standard components like Select, Checkbox available? If not, what is the usual way to contribute? If a component is written and meets the quality guidelines, is there a way for it to go back to a standard component library?

from makepad.

makepaddev avatar makepaddev commented on August 19, 2024
  • In short: its too early to do that right now, we are still replacing the shaderstack and have a lot of widgets to build
  • animated gifs would need a gif decoder, and a bunch of logic: widget to build
  • layout is 'i think' a lot easier and simpler than flexbox, but teaching how it works is the challenge. We aim to build education systems for this
  • Slight drop shadows, as long as you can do it with a shader are easy
  • Makepad really has a JS file that bridges any needed API's to Rust. This would just need to be added
  • We have 'button' right now and a text control, but nothing else yet. First we'll get our live editing up then more widgets will be added. Right now i don't recommend making them yourself, you can try of course but i'm moving things underneath a lot for now.

from makepad.

andrewvarga avatar andrewvarga commented on August 19, 2024

I see, sounds pretty good! I understand it's a bit too early then, but I'll be watching over the project, and hope to contribute when the time comes.

from makepad.

makepaddev avatar makepaddev commented on August 19, 2024

Yep, many things will happen over the next 6 months. Its ambitious so we take our time.

from makepad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.