Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
What is the best way to upload video with AngularJS and Symfony2 using MongoDB database, and more scalable to do the upload in the database or in the application files?
Video is only file, so you can use any module mentioned here: File Upload using AngularJS
If you want to implement it itself, you might like resumablejs.com.
For videos I would go with file system, it will probably be better for streaming video.
As for scaling, it depends on your point of view.
i.e. If your app is running on multiple machines connected to 1 DB than file system is not good idea.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I'm trying to understand when I should use CMS like WordPress and when to use a single page application framework like React and Vue when creating a website. Any help?
WordPress can be used without any (barely any) coding skills. It's also a fast way to get a templated website running. If you don't know how to code, don't have a lot of time, and have a simple site, use WordPress
If you have coding knowledge, have time, and have a complex application, you won't be able to use WordPress, and you will find that out quite quickly.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
Hello Guys I am creating porfolio website for an Animation Studio.and they waana add some vidoes on their portfolio website.. I am using ReactJs for website. Do i need any kind of clousd-storage for storing videos,or i just put vidoes inside React project,Kindly help me..
Hosting videos yourself is always tricky. Due to bandwidth limitations, it would buffer a lot and depending on the amount of traffic, the cost could go through the roof as well.
I have done a similar site previously using Gatsby and hosting the videos on Vimeo or Youtube.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
My web application has lots of static images(say 100s) to be rendered in the UI.
note that not all images are to be shown on a single page together, instead, those are shown conditionally i.e only 3-5 images are displayed actually in the whole UI.
I want to know does having too many assets affects the production build?
You should upload images to S3, keep the access of these images as public.
If your application is popular you should consider setting up cloud-front in front of s3.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am creating a web Application with node js,angular,mysql and and express.Application contains different type of record which i have to manage.
So what do i use Single Page Application or Multi Page Application.
To me it comes down to preference and how much work I want to put into my application. Since you are using Angular, I think having the luxury of doing a single page application is great because load time is minimal.
If you take the multi page direction I would suggest ditching Angular and serving files from the server. The benefit of that is that you don't have to handle two applications.
I would use Angular because single page applications are very user friendly right now.
Good luck with your decision.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a SQLite database hosted in a server, e.g. http://www.webserver.com/database.db
I need to download this database into my phonegap/cordova application, in order to read its data offline.
Practically, I need to "clone" my external database into an internal one.
Please, could someone help me? Thanks.
A few things. First, PhoneGap does not supporting download a SQLite db file and then connect to it. I believe it is possible if I use a native plugin, but out of the box, I can't do it that way.
Solution: download raw data via XHR, i. e. JSON data, and then do imports.