-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scorpiusjs Planning and Community Discussion #5
Comments
Important for us would be the following:
For sure this list can be longer, but these are the most important points to us. |
Hi @rwatts3 , Thanks for this initiative! I know that a lot of work to be done here. I would like to ask, how would you attack the front-end side of things? I guess scorpius is gearing toward apollo on the backend side? I agree about the points @ogermann pointed out. I have a lot of pain in orion relationship that I ended up dropping it and doing it manually. It's nice to have this kind of discussion on the early days to decide which stack or approach should be taken. Thanks |
Thank you for sharing your thoughts. Certainly SSR is a critical part of the vision. Frankly SSR is a needed in a great deal of apps I've seen from the meteor community as a whole. So that will certainly be top priority. As for template support I'm thinking more along the lines of a centralized config. Where you can define the schema or several collections and tie them together with relational joins. Maybe it would be better to use Apollo for this type of thing. Ideally. That type of decision wouldn't get into the way of the developer. In the config their may be a key for modules or collections where the user could define those . so building a page module would be simple and if provide an example. The high level idea is that the config file drives everything. A user could clone or copy a module as a boilerplate and drop it in their directory. That module would then be defined within the config and used later in the application. This is simply an early thought if how to go about it. Ideally i would like for scorpius to be very un-opinionated to the developer. If you want to use it to control your mobile app go for it. If you want it as an api where you'll be writing your front end in some php that's fine as well. This has also given the thought if defining collections within the admin area on the fly. Or having them dynamically defined based on the config or module approach. |
As for the front end. It may come as a module or plugin addition where there would be a set of tools and up tools to build a website. Maybe scorpius ui or scoroius front end tools |
Thats a thing that we tried to simulate in orionjs (well its not working that auotmated but it looks like that for the user). I think it's important, that scorpius will have the ability to be customized for a great usability and fast working steps. What i'm also a bit anxious about is that i cannot imagine that such a piece of work can be done in a short time. I just hope that orionjs wont get too outdated to use it with meteor until scorpious will come out. |
Another thought also is to completely rent and orion to scorpius as a fork and provide support as the discussed features are rolled out and built overtime. The main problem I'm having with orion is the fact that I cannot publish package releases and make updates to orion. Tried reaching out to Nick but haven't heard from him since the day the announcement was made. So essentially my hands are tied to making any updates the project. |
Ideally. If I am to make the desired improvements and take scorpius to the place we've discussed here it would probably be best to fork. And incrementally roll or convert orion / scorpius to the new concept. |
After much thought, in regards to what would work best for the community, I've decided to go with a fork, and make improvements. This means Blaze will remain at the core of Scorpius. Before Scorpius will be production ready. I will be updating the packages to be 1.4.0.1 compliant, and upgrading all packages to ecmascript and modules. An official announcement will be made when you are able to begin transforming existing Orion projects to Scorpius. Also all packages will be published to atmosphere under Scorpius. Scorpius will start at version |
What are your thoughts on Simple-Schema? I'm concerned this project is falling behind maintenance as Orion did. I've found a possible good replacement for validation purposes, but it seams to me that simple-schema was used in Orion for more than just validation. Here is another one, recommended by aldeed himself. Any thoughts? |
For currently SimpleSchema and Autoform combined suit the needs for Scorpius at least from an initial migration standpoint. However I do believe in the future, it may definitely be necessary to explore other options as Scorpius evolves. I'm definitely not opposed to testing and researching the latter. |
@rwatts3 That all sounds good. One last comment about this and I'll move on. I've done some more research on this topic and ended up posting a question about it on the meteor forums. I'm not so sure I like any of these options. Actually, the one I like the most would be a solution that uses the mongodb validation somehow if possible. |
Have you looked into mongoose ? On Thu, Aug 11, 2016, 10:00 AM Jeremy Iglehart notifications@github.com
|
Not sure if it has validation On Thu, Aug 11, 2016, 10:03 AM Ryan Watts ryandwatts@gmail.com wrote:
|
Also out of curiosity what issues are you running into with simple schema On Thu, Aug 11, 2016, 10:04 AM Ryan Watts ryandwatts@gmail.com wrote:
|
It's a combination of worries that schema is unmaintained along with curiosity if it's possible to achieve similar results for validation using more "core" code. Specifically, that is, using mongodb's built in features. I'm asking the question "why is everyone doing it this way" when there seams to be a possible better way. So, is it even possible to use the new functionality in mongo as an approach to validation for server/client input? It would require minimongo to support this feature no? |
I believe your observation is correct in regards to minimongo. But another reason people may continue to use simple schema at the current time dates to the old "If it's not broke don't fix it" saying. It could just be a case that Simple Schema has everything most people need at the current point in time. Doesn't mean that mongodb validation will be direction in the future |
Just a friendly FYI: MongoDB Version 3.2 -> https://docs.mongodb.com/manual/release-notes/3.2/#document-validation |
Fork sounds great and you get the built-in audience of everyone who loved Orion. For me it has almost everything I'd need already so I'm just interested in having a package that does not get stuck in limbo like Orion did and keeps working with all the changes that come to Meteor. |
Certainly, I explored as many options as I could think. And fork seemed like the most reasonable approach in regards to supporting the community with as little overhaul as possible. I worked with Orion since pre 0.7 and helped get it to 1.0 +. Orion is amazing, Nicolas did a tremendous job. My vision for Scorpius is to bring more CMS features into core, and to keep it on a steady path with new releases of Meteor. Some day in the future Scorpius will definitely be the go to platform for CMS / Admin solutions. Mobile, Web, and ... (Spoiler Alert, Desktop) :) |
I'd also want to help. For me some useful features would be user roles and translation support. |
Hey everyone, just wanted to let you know we successfully used Scorpius on a 48h hackhaton with next to no problems. We built a Q&A platform for the Snapchat generation and you can check it out here: http://yah.haam.co The one question that did arise was if it's possible to use Scorpius together with tap:i18n-db? Both want to initiate collections with their own prefix, for example TAPi18n.Collection and Scorpius.Collection Is there a way around this in javascript or should one of the packages change for them to work together? Thanks to everyone for their contributions and hope Scorpius takes off. It's an awesome platform as the past weekend proved! |
This is awesome I'm great to hear the success. |
That would be awesome @rwatts3 ! |
@rwatts3 check out astronomy, I've loved using it in any projects I've had it in. In addition to offering validation, it also creates classes that you can do cool things with. I can't recommend it highly enough. It's also has extensibility built in, if it doesn't do everything needed. |
Thank you for sharing do you have a link to the repo , or docs ? |
For what it's worth, you'll probably have to swap out simple-schema and collection2, which may be a bigger undertaking than you want. On the other hand, there's this: https://atmospherejs.com/lai/astronomy-simple-schema, which could probably be adapted (it's a bit out-of-date). |
Open Discussion regarding Features and Planning for Scorpius
The text was updated successfully, but these errors were encountered: