Comments (5)
@olexiyb thank you for your PRS, do you want to be part of that project I have to make Canduma as Framework with lot of useful tools, I want a console to generate code like Laravel in PHP, make in Symfony PHP, or RoR generator ... Do you think you can handle it ?
from canduma.
@clifinger I have 20 years of C++, but only 2 weeks in rust at this moment :-)
I am currently learning rust for my personal needs, not because of work requirements :-)
From my experience, this is a pretty tough task to write generator and potentially rust may not be the best language to write such generators.
I personally use a different language for different purposes (an example #5 (comment))
Anyway, my point is I am currently moving in a different direction. I need to have a very fast and scalable API, but do not have experience in graphql and rust to work on the generator.
PS
you can take a look into feathers cli as an example of javascript generator.
from canduma.
For cli and generator isn't rust way better and faster? But usually I never find myself using cli in laravel or rails as its always faster to create new file & use macro of text editor.
from canduma.
For cli and generator isn't rust way better and faster? But usually I never find myself using cli in laravel or rails as its always faster to create new file & use macro of text editor.
written on rust code will be blazing fast, but writing on rust is not that fast :-)
I have used generators just to see example of the code and how to add new service. First setup initial version, commit to git, add service and see the diff. But later I gave up to use as generators generate the code for old versions of libraries, etc, etc...
from canduma.
BTW, this may be interesting Askama
Askama implements a template rendering engine based on Jinja. It generates Rust code from your templates at compile time based on a user-defined struct to hold the template's context.
from canduma.
Related Issues (20)
- Suggested way to add new model HOT 2
- Redis session cookies (with one remember_me). HOT 3
- Implementing OAuth server HOT 4
- Better HTTP Response HOT 3
- Rust 1.39.0 and Async/Await HOT 21
- Consider using wundergraph for the database <-> GraphQL interaction HOT 1
- Cargo run failed HOT 1
- Get JWT Token, get No HOT 4
- Consider Heroku compatibility HOT 1
- Authentication inside GraphQL / Juniper HOT 3
- discussion: async-graphql vs jupiter and diesel vs tokio-postgres vs sqlx HOT 1
- Connection pooling via r2d2 crate HOT 2
- Cannot query field "token" on type "QueryRoot" HOT 1
- Implementing tests and documentation HOT 8
- [ Feature Request ] support cursor-based pagination HOT 1
- Diesel 2.0 released with errors when updating
- Add Redis session backend.
- Federation support for GraphQL
- Implementing cargo-generate and make the templates.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canduma.