Skip to content
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

Next version/incarnation of UF #199

Closed
alexweissman opened this issue Jan 13, 2015 · 14 comments
Closed

Next version/incarnation of UF #199

alexweissman opened this issue Jan 13, 2015 · 14 comments
Labels
long-range planning Long term roadmap needs more info Incomplete issue, missing details

Comments

@alexweissman
Copy link
Member

For the next big version of UserFrosting, we have proposed the following components:

Thoughts? Anything we're missing?

@alexweissman alexweissman added the long-range planning Long term roadmap label Jan 13, 2015
@andig
Copy link

andig commented Jan 20, 2015

+1 for composer. If you're in PHP you have to get into composer. The 90ies are over ;)

Would appreciate Doctrine/ORM too.

Update: opauth/opauth would be an absolute must.

@alexweissman
Copy link
Member Author

Yup, I'm starting to realize that everyone uses Composer. As for the ORM, I picked Redbean over Doctrine because it's more lightweight. Then again, it depends on the target audience of UF. Either way, we'll definitely be using an ORM in the next version ;-)

Send me a message through my website if you want to chat more ;-)

@rdmiller
Copy link

I'm just starting to work with UF to manage users for some Angular SPAs. I would put admin control over login durations to be high on my list. Thanks for the great work, Alex and all.

Rob
IUB '03

@alexweissman
Copy link
Member Author

Cool, will do! Also, Bootsole is almost ready! This is an important step in bringing UF into the world of modern web development, and will make it tremendously easier for developers to adapt and extend UF for their needs.

Be sure to star it!

This was referenced Jan 29, 2015
@rdmiller
Copy link

Do you have an ETA on when 0.3.0 will be ready?

@r3wt
Copy link

r3wt commented Mar 10, 2015

@rdmiller Alex has begun work on 0.3.0

Its still very much in the stages of R & D, but you can see the progress Alex has made so far:

https://github.com/alexweissman/UserFrosting/tree/slim

@alexweissman
Copy link
Member Author

Yup, it'll be another month or two at least. But, if you have some expertise on Slim, Twig, or RedBean and want to contribute, let me know!

@andig
Copy link

andig commented Mar 10, 2015

I can only add that Doctrine ORM is an excellent product and imho the de-facto standard, I believe more so and with broader support than redbean (my personal experience from looking a both and extensively using Doctrine).

@alexweissman
Copy link
Member Author

Thanks. Yes it is true that Doctrine is a more widely used ORM. However, I chose RedBean because it is "no config" (see http://redbeanphp.com/about). And, not sure if Doctrine does this as well, but it exposes direct SQL querying as well.

One of the goals of UF is to help novice programmers get started, so I am trying to strike a delicate balance between an easy learning curve and best practices of modern web design.

@andig
Copy link

andig commented Mar 11, 2015

Don't want to debate your choice, just for sake of completeness.

However, I chose RedBean because it is "no config" (see http://redbeanphp.com/about). And, not sure if Doctrine does this as well, but it exposes direct SQL querying as well.

Doctrine does both afaik. For a "no config" example see https://github.com/volkszaehler/volkszaehler.org/blob/master/lib/Volkszaehler/Router.php.

Direct SQL is possible as well via the underlying DBAL abstraction ($this->em->getConnection()->executeQuery()).

One of the goals of UF is to help novice programmers get started, so I am trying to strike a delicate balance between an easy learning curve and best practices of modern web design.

Doctrine is definitely more verbose. Maybe it would be possible to encapsulate the ORM-using stuff to make if possible to include UF in Doctrine applications? As doctrine requires annotations, would it potentially be possible to annotate the RB model to work with Doctrine, too?

@r3wt
Copy link

r3wt commented Mar 11, 2015

Doctrine is slower than Christmas

@alexweissman
Copy link
Member Author

No worries, I think it's good to keep an open mind and have an open discussion :-)

Didn't realize that Doctrine had direct SQL, that's actually good to know. I'm not sure if I want to throw annotations into the mix, especially since I'll already be throwing request schema into the next version.

There will be a layer between RedBean and the UF controllers - if you take a look at the models folder of the slim branch, you'll see DBObject, User, etc. So, something you could do is simply replace those classes with Doctrine-based model classes that implement the same functions. Maybe I could even formally write the model as an interface to make it easier.

@r3wt r3wt added needs more info Incomplete issue, missing details 0.3.0 labels May 26, 2015
@r3wt
Copy link

r3wt commented May 26, 2015

I vote SwiftMailer instead of PHPMailer.

@alexweissman
Copy link
Member Author

Ok, it's basically ready to go - just needs to be documented! https://github.com/alexweissman/UserFrosting/tree/dev-0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long-range planning Long term roadmap needs more info Incomplete issue, missing details
Projects
None yet
Development

No branches or pull requests

4 participants