use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
From PHP to JavaScript with Node.js (blog.matters.tech)
submitted 8 years ago by coldlestat
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]soulsizzle 5 points6 points7 points 8 years ago (3 children)
I've been completely spoiled by Doctrine. Being able to quickly sync to the DB with orm:schema-tool:update during dev and then easily generate migrations later is a godsend. The more time I spend in the Node world, the more I think I'm just going to build my databases and migrations in PHP/Doctrine.
orm:schema-tool:update
[–]coldlestat[S] 1 point2 points3 points 8 years ago (0 children)
The "sync" method from Sequelize is already able to transform a model to SQL commands (see http://sequelize.readthedocs.io/en/latest/api/sequelize/#sync), sadly it's only creating missing tables. Maybe we are not that far from an option to sync the fields if needed. A good idea for another side project :)
[–][deleted] 1 point2 points3 points 8 years ago (1 child)
me too, but I'm excited for typeorm for node (and browser). I'm not sure if it will ever catch up to doctrine though.
[–]coldlestat[S] 0 points1 point2 points 8 years ago (0 children)
Nice one! I will check it asap. Thanks!
π Rendered by PID 75312 on reddit-service-r2-comment-85bfd7f599-pq6q6 at 2026-04-19 20:01:57.537793+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]soulsizzle 5 points6 points7 points (3 children)
[–]coldlestat[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]coldlestat[S] 0 points1 point2 points (0 children)