strapi icon indicating copy to clipboard operation
strapi copied to clipboard

The future of Strapi - IMPORTANT

Open pierreburgy opened this issue 10 years ago • 56 comments

The future of Strapi - IMPORTANT

As you have probably seen in this article: http://strapi.io/blog/the-future-of-strapi, Strapi is about to change a lot.

That’s why you need, more than ever, your point of view.

Please answer the following questions, by copy-pasting the block of text below:

**1. What do you think about this new vision?**
Answer:

**2. What Node.js framework would you use: Hapi vs Koa2?**
Answer:

**3. What downloadable plugins would you like first?**
Answer:

**4. What SaaS plugins would you like first?**
Answer:

**5. What front-end framework should we use for the extendable admin panel:** 
Answer:

**6. How can you contribute?**
Answer:

**7. Do you have any other suggestion?**
Answer:

In order to take the final decisions concerning the technical choices, we will probably create Twitter surveys in the next few weeks. In the meantime, we look forward to see what you have in mind.

pierreburgy avatar Jun 03 '16 15:06 pierreburgy

1. What do you think about this new vision? Answer: Node needs something like this. Like this more than Nodal or Sails.

2. What Node.js framework would you use: Hapi vs Koa2? Answer: Hapi

3. What downloadable plugins would you like first? Answer: Users & Group

4. What SaaS plugins would you like first? Answer: Strapi Cloud

5. What front-end framework should we use for the extendable admin panel: Answer: React/Flux/Relay/GraphGL?

6. How can you contribute? Answer: Spectating, and complaints. Maybe some small features if well scoped.

7. Do you have any other suggestion? Answer: Websocket support.

BitByBen avatar Jun 06 '16 18:06 BitByBen

1. What do you think about this new vision? Answer: Seems like the logical move. I would like to have a proper guideline to migrate.

2. What Node.js framework would you use: Hapi vs Koa2? Answer: No choice.

3. What downloadable plugins would you like first? Answer: Users plugin which works with SocialLogin plugin and has ACL support within groups.

4. What SaaS plugins would you like first? Answer: I would prefer integration with PaaS thingies instead of SaaS such as Firebase.

5. What front-end framework should we use for the extendable admin panel: Answer: VUEJS !! :)

6. How can you contribute? Answer: Bug reporting and bugfixes in several scales. Contribute with some plugins. I was thinking to create a basic forum with a script to contribute society.

7. Do you have any other suggestion? Answer: Redirect every question and discussion to one channel and set up a tracker for that channel to comprehend necessities better in future. Even a Strapi forum would work just fine as I pointed at 6.

suhaboncukcu avatar Jun 06 '16 19:06 suhaboncukcu

1. What do you think about this new vision? Answer: Really depends on what the pricing will be. The problem is that the whole framework ecosystem is strongly build around open-source free-for-all projects, which means the actual willigness to pay will be quite low. So you will really have to stick out with a good developer-friendly framework and rich plugin marketplace, so that the costs are worth the saved time. Maybe consider a free-tier (along the free plugins), in which you can use them for free as long as you don't have too many users/traffic/api calls whatever.

2. What Node.js framework would you use: Hapi vs Koa2? Answer: Koa2 because of the future-proofiness(tm)

3. What downloadable plugins would you like first? Answer:Users & groups(along with authentication and authorization!), then API Manager

4. What SaaS plugins would you like first? Answer:Stripe

5. What front-end framework should we use for the extendable admin panel: Answer: Aurelia.js(would nicely fit in the ES6/use-only-standard-js/always-the-best future-proof vision of yours) or Vue.js

6. How can you contribute? Answer: I have my own startup, so maybe by using it and paying for it :)

7. Do you have any other suggestion? Answer: Keep up with the updates, recently i felt the project was slowing down. And with updates i don't necessarly mean commits but maybe just news, discussions etc. (i have to admit i'm not on slack)

eikaramba avatar Jun 06 '16 22:06 eikaramba

@benjaminjs, @suhaboncukcu and @eikaramba: thank you for your feedback.

  1. @benjaminjs, yes, Node needs this mix between a framework and a CMS. @suhaboncukcu we will take about creating clear migration guides. Good idea @eikaramba.
  2. We need more votes for the framework choice.
  3. Users and groups looks to be the most wanted downloadable plugin.
  4. @suhaboncukcu actually, the deployment it would be a PaaS, so you can write your own code and, then, deploy it. @eikaramba, what are your expectations concerning the Stripe plugin (admin panel integration, invoices management, users plugin connection...)?
  5. React.js and Vue.js are the two in our short-list.
  6. and 7. Thanks again.

pierreburgy avatar Jun 06 '16 23:06 pierreburgy

@pierreburgy If i had to choose, it would be indeed admin panel integration. Also maybe an abstraction of the API to make it even more simpler(tbh it is quite easy already, but it's a long time since i used it manualy. Nowadays i'm using a complete shop solution so that i don't need to interact with stripe anymore). Sure enough the integration with the user db would be nice then.

eikaramba avatar Jun 06 '16 23:06 eikaramba

@eikaramba This our way of thinking too! The admin panel should be an abstraction layer of interfaces. It should allow you to easily manage and display your metrics in only one and unique interface. If you need to do some granular research or analysis, you could go on the dedicated interface offered by the third-party service. To achieve this goal, we have to fill our marketplace with a lot of plugins with basic features (ex: users & group, media library, upload) and third-party integrations (ex: Stripe, Mailchimp, AWS, Slack, and much more).

Aurelsicoko avatar Jun 07 '16 11:06 Aurelsicoko

1. What do you think about this new vision? Answer: Seems great! Integrate Studio with admin panel will make Strapi much easier to use.

2. What Node.js framework would you use: Hapi vs Koa2? Answer: definitely Koa2.

3. What downloadable plugins would you like first? Answer: Users and Group along with RBAC.

4. What SaaS plugins would you like first? Answer: cluster plugin.

5. What front-end framework should we use for the extendable admin panel: Answer: React!

6. How can you contribute? Answer: Help implement core features or plugins. I wrote a similar framework years ago.

7. Do you have any other suggestion? Answer: Move fast! I've been waiting for a long time.

sskyy avatar Jun 08 '16 12:06 sskyy

1. What do you think about this new vision? Answer: Great. Monetization only in plugins keep the core open.

2. What Node.js framework would you use: Hapi vs Koa2? Answer: Koa2

3. What downloadable plugins would you like first? Answer: Users and Groups, Authentication.

4. What SaaS plugins would you like first? Answer: Deployment.

5. What front-end framework should we use for the extendable admin panel: Answer: React.

6. How can you contribute? Answer: Plugins, core issues/bugs.

7. Do you have any other suggestion? Answer: More incremental releases, keep shipping.

abelsoares avatar Jun 08 '16 22:06 abelsoares

First of, I am not an actual Strapi user, but I was looking at this project, wanted to know if you supported Koa2, then saw this. As a potential new user, here are my comments and expectations on the future of such project :

1. What do you think about this new vision? Answer: It is not progressive at all. You are essentially trying to mimic what MeteorJs tried (except for the monetising part) with Atmosphere. Well, they are slowly abandoning it in favour of npm. And I agree with that 100%. The Node community does not need more package managers. However, you could "officially" list packages that were reviewed, and work with npm to integrate your PaaS with it (i.e. having the packages hosted on npm and keeping your own personal list of officially tested packages, with use comments and ratings). It should be possible to build something completely open source with Strapi; and I suggest you consider the same business model as WordPress for that reason. In fact, Strapi could very well be the equivalent in Node as WP is to PHP. If this is so, then I'd be on board 100%.

2. What Node.js framework would you use: Hapi vs Koa2? Answer: Koa2. Because Koa is the only framework that wants to remain lean, and this is appeals to me very much. Koa2 is also future-proof and progressive.

3. What downloadable plugins would you like first? Answer: Of course, users and groups.

4. What SaaS plugins would you like first? Answer: Yes, clustering should be a must. Built-in would even be better.

5. What front-end framework should we use for the extendable admin panel: Answer: React, of course.

6. How can you contribute? Answer: anything... but no docs, I hate writing docs.

7. Do you have any other suggestion? Answer: Put the thing in beta and encourage PRs. If you adhere to the philosophy of "less dependencies the better", it will prevent the core to become bloated and solid. Make it easier for people to see code coverage and build results. I originally found this project because I was looking for a framework built on top of koa... Well, if you are using koa2, then take a look at the build system they use, and how they keep up with new edge features in Node.js, etc. Also, make it Node 6+ and build around async / await (aka Promise).

Edit : PM2 already offers great metrics tools, why re-inventing the wheel? A proper integration would be better IMO.

yanickrochon avatar Jun 09 '16 00:06 yanickrochon

1. What do you think about this new vision? Answer: I'm with @yanickrochon on the marketplace subject. While I have nothing against a marketplace PLEASE make it rely on NPM by enforcing some kind of naming scheme strapi-whatever or a tag.

2. What Node.js framework would you use: Hapi vs Koa2? Answer: Koa2, it is as minimal as it gets in the Node world, easy to comprehend and extend.

3. What downloadable plugins would you like first? Answer: I'm using Strapi v2 already in a big company project. Since there are no plugins yet I had to write a local-auth, redis session and swagger generator plugin myself (which was easy and straightforward)

4. What SaaS plugins would you like first? Answer: None

5. What front-end framework should we use for the extendable admin panel: Answer: Either React or Ember.js

6. How can you contribute? Answer: I will fix the occasional bug, add to the documentation and release all plugins which may be useful to a wider audience (like the two above)

7. Do you have any other suggestion? Answer: I'm already working with v2 despite there is no alpha version available. Please release an alpha with the current state to NPM, make it master and stop supporting v1 altogether! People getting to Strapi are probably confused because there is currently v1 and v2. You don't have to release v2 framework and studio at the same time. With the former released people can already start building plugins, generators and will contribute more to the framework core.

crunchtime-ali avatar Jun 09 '16 14:06 crunchtime-ali

👍 for @dj-hedgehog comment, enforce the strapi-pluginName convention as it's very useful to find plugins! Also, release v2 as soon as possible, buggy sofware is better than no software, we need to get our hand on v2.

abelsoares avatar Jun 09 '16 19:06 abelsoares

1. What do you think about this new vision? Answer: I like it. It's a good start :)

2. What Node.js framework would you use: Hapi vs Koa2? Answer: Hapi

3. What downloadable plugins would you like first? Answer: JWT Authentication or maybe a skeleton for making your own authentication.

4. What SaaS plugins would you like first? Answer: None.

5. What front-end framework should we use for the extendable admin panel: Answer: I honestly don't care which framework you choose, I just care if you can provide easy documentation to follow and it isn't a pain to look into the code and add new stuff to it.

6. How can you contribute? Answer: PR (Reddit, Forums, etc.), Documentation, and community help

7. Do you have any other suggestion? Answer: I love the idea of the studio, would be great to also create logic kinda like scratch does. Admittedly, I know this kinda sounds like Sailsjs Treeline (Which is a SaaS solution) or IFTTT but it is. I love the idea of just dragging and dropping logic without having to write much code. Also that would be great for people that are making REST API's that are not using a DB back end to talk to rather hardware such as GPIO, sensor, or even OS level communication.

junland avatar Jun 11 '16 22:06 junland

@junland: I love your last proposal! This really sounds like Treeline, Zappier or Flows (Stamplay). However, we also want to be able to offer chainable actions. Our ecosystem will be built around plugins and APIs, IMHO this kind of feature is a "must-have".

Aurelsicoko avatar Jun 13 '16 16:06 Aurelsicoko

Hi guys, I looked into Strapi and looks promising. I'm sure you already decided about plugins to start with.

I would like to suggest MarkoJS (with Marko Widgets) for front-end. Have been using it for a while now and found it much easier and performant vs vue or react, especially on dynamic projects where you need to load templates on the fly. Have a read at least. You might want to have a look at LassoJS for bundling.

I would also go with Koa since it has a good community, extendable, works well with MarkoJS and ... generators :)

In any case, keep up the good work. I would become a subscriber if any SaaS provided will be reasonable priced.

Cheers!

sampology avatar Jun 14 '16 21:06 sampology

1. What do you think about this new vision? Answer: I tried the v1 of strapi for a POC, great framework to use. but waited too long for v2 release, so didnt choose strapi for production use at end. So this time, dont let us wait too long..

2. What Node.js framework would you use: Hapi vs Koa2? Answer: koa2

3. What downloadable plugins would you like first? Answer: user, auth, orm, cli, cache, MQ..

4. What SaaS plugins would you like first? Answer: build

5. What front-end framework should we use for the extendable admin panel: Answer: angular/2, react this is really doesn't matter

6. How can you contribute? Answer: I would like to write some plugins and maybe help translate the doc to Chinese if you need i18n it.

7. Do you have any other suggestion? Answer: release something.. update documents...hmm, some client side SDK will be nice to have (like those in loopback).

axe-me avatar Jun 27 '16 22:06 axe-me

@ShaneXie: We are so sorry for our lack of communication the few last months. We have been very busy. We are fully dedicated to Strapi from now. Our vision is well defined, and we know where we want to go! Strapi will not be a framework. Strapi will be a Content Management Framework. A great and easy tool to manage and synchronize your content (data, media) on multi-devices through an API. This new way of thinking does not change a lot of things for you, there will still have a framework, and an extensible administration panel. But we are thinking as an ecosystem where everything will be plugin.

I'm very surprised that nobody quoted Hapi as the framework to use. I really like the approach, it could be very interesting with our future plugins.

Aurelsicoko avatar Jun 28 '16 08:06 Aurelsicoko

Thanks to all of you for your answers. They help us a lot to make decisions. Here are some of our current thoughts for the future of Strapi:

  • Node.js framework: Koa. Koa is flexible, lightweight and easy to understand. As soon as possible we will migrate to Koa 2 in order to avoid plugins breaking changes.
  • The first plugins developed will be: Users (auth, groups and permissions), Content Manager, Content Type Builder and Settings Manager. For that, we are going to create a brand new admin panel using React.
  • The first available SaaS plugin will be a one-click deploy solution based on a monthly recurring payment.
  • We want to keep Strapi easy to learn, especially for front-end developers. Bookshelf is a really good option for SQL databases. However, SQL migrations require a good level from the developer. NoSQL databases have high flexibility what make them easier to learn. Also, Mongo is the world most used NoSQL database. That’s why we decided to choose Mongoose as default ORM. That will make developer life easier to develop both back-end applications and Strapi plugins. However, as a developer you will still have the ability to use any other ORM (including Bookshelf), but in this case you won’t be able to enjoy plugins usage through the marketplace given that they will be based on Mongoose.

If you have any question or suggestion concerning these choices, feel free to answer to this issue.

Looking forward to see your reactions.

pierreburgy avatar Jun 29 '16 08:06 pierreburgy

Awesome, I'm happy with the plan (just don't forget to release alpha ASAP). I'm against Mongoose as default ORM but as long as there's still a viable path to use SQL databases with Strapi's models I'm fine with that. Could you please extract the current Bookshelf ORM into its own repository as soon as it's pluggable into Strapi?

Also one more question: Will you release Strapi v2 with Koa v1 and switch to v2 as soon as all middlewares are compatible? I see some confusion arising on the user-side if you go with v1 first and then migrate to v2. On the other hand according to https://github.com/wistityhq/strapi/issues/41 there are still a lot of middlewares which aren't updated (we could migrate the missing 8 manually though as they're rather simple).

crunchtime-ali avatar Jun 29 '16 10:06 crunchtime-ali

We are going to release Strapi v2 alpha asap. Bookshelf ORM will be published on a separated repository.

Strapi v2 will be released with Koa V1: Koa v2 is no mature enough yet.

pierreburgy avatar Jun 29 '16 10:06 pierreburgy

@Aurelsicoko So is Strapi going to be Django in that's more like a CMS but yet can still be used for web applications outside of CMS? I'd also like to add I love the easy directory structure of Sails and I would like that Strapi keeps that paradigm. So with this new direction would it still be possible to use Strapi without the CMS aspect? Could have it where I think Sails or Featherjs has a command line that you can specify --dry then it scales out just back end stuff and leaves out front end resources and makes it super small.

junland avatar Jun 29 '16 13:06 junland