Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Can AngularJS be used solely to upload data to a database?
Can we use Angular alone to upload content to a database such as phpMyAdmin? If not, which language is best recommended to learn? I already know PHP, but am not sure if we can use them together, or if it would be considered good practice?
Not on its own. AngularJS is a frontend framework, you would need to use a server-side language for the actual database interaction (as well a database language like SQL).
There are many ways to achieve it, one way would be to use a combination of Angular and PHP, another would be to use Node.JS and Sequelize.
See here for an example of using Angular + PHP together.
Hope this helps :)