Separate web app as 'V' in rails app? [closed] - javascript

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 7 years ago.
Improve this question
I am developing a RoR app. I am confused whether to develop an API in rails app and separate web app using different javascript frameworks.
Reasons: Am a beginner in ruby on rails. Unable to customize views using frameworks like Polymer. (Found few gems, but I feel like its easy with normal web app).
So I need your suggestion in deciding whether to develop api with rails and interact with it using a separate web app(HTML5 and JS) or complete project in rails (if so then please suggest me some useful gems in designing beautiful views)
PS. I also want to develop API because mobile apps gonna interact with it.

If you're gonna do mobile applications, use rails to build an API.
It's easy to render json with rails, so it's powerful to build an API that you'll be able to use in web with JS framework (like angularjs) and for mobiles applications.
See here for how to render json : http://guides.rubyonrails.org/layouts_and_rendering.html
Hope it help

Related

Web applications with javascript [closed]

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 5 years ago.
Improve this question
Now I program all my web apps with Flask or Django. (blogs, social networks...). I need templates, db access, controllers, routing...
Now I want to do same web applications, but with javascript.
People tell me : You need NodeJs for server-side, Angular for the front, and for example firebase or mongodb. Or also you can use Express JS.
But can I just use Angular JS and Firebase for start a big web app ? Need I Node if Angular can Access/Update/Delete in my db ?
Angular is a client-side framework, so you'll have to at least have some web server to serve your static files. Other than that, if you're using Firebase, you wouldn't technically need any server-side code to handle your logic - but naturally, that depends strongly on what data your application deals with.
If what Firebase provides, doesn't cut it for your cases though, you will need a server-side, and pretty much any web application framework would do. Node.js (using Express), PHP, ASP.NET, whatever your heart desires.
And yes, Angular works perfectly well for creating big complex web applications.

will the app store reject my app if I use a javascript sdk for the backend? [closed]

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 6 years ago.
Improve this question
I'm using Trigger.io to make an app I can deploy to both the app store and google play.
I'm researching baas backends that offer native sdk's for android and apple, but also offer javascript sdk's which I assume are meant for things like Trigger or Phonegap.
My question is do the app store guidelines favor one kind of back end service over another? Is javascript risky for backend? I just want to be sure before I pay for a service. The services I'm considering are cloudmine and shephertz.
They shouldn't know anything about your back-end web service.
Sounds like you are talking about making a hybird app though, which is also fine (and is technically a client). There are a ton of hybrid frameworks out there: Ionic, Cordova, Cocoon, PhoneGap, apparently Trigger.io, etc. They wouldn't be useful if app stores rejected them.

Build a Task Management App using Javascript [closed]

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 looking to build a Order Management and Task Management App for my company. I am a beginner in Programming and know only Javascript (Can manage with HTML and CSS ) . This app would also require to connect with a database. Is it possible to build it only using Javascript (without the use of any other languages like PHP etc) and is it advisable. Is there any other more feasible solution.
If Javascript will suffice, a few more queries in the same line
What database would be the best to use ?
Would using Angular JS help ?
How do I search and use if theres a similar project in Github that runs only on Javascript ?
suggest you read more about the MEAN stack, it's a very popular stack that let you build the whole stack (DB, Server side logic, Client Side logic) with Javascript alone.
in short:
MongoDB, a NoSQL database
Express.js, a web application framework that runs on Node.js
Angular.js, a JavaScript MVC framework that runs in browser JavaScript engines
Node.js, an execution environment for event-driven server-side and networking applications
using the angular JS is optional in my opinion, it is required if you want to make it to feel as single page app.
try this on github, an example for MEAN stack.
You have to Choose
Nodejs Server (Javascript)
AngularJS Client (Javascript )
Mysql Backend
They are More Flexible with friendly Solutions
You could build and host your app on something like https://firebase.google.com/ - build the entire thing in eg polymer and let google host it, that way you'd be building the thing entirely in JS, no other language required

AngularJS 1 combined with ASP.Net MVC [closed]

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 doing a restructuring because there are a lot of bugs in my app. I have come to the point where i am very confused whether I should either drop AngularJS or ASP.Net MVC. Does anyone have any suggestions?
Problem now is i think we use CSHTML files, and from what i have heard, angular can't read cshtml files to route. I have tried to use ASP.net to navigate from views, but in reality shouldn't i rather use Angular Routing? If so why should i continue with ASP.Net MVC? I could hack it, but i feel that if i continue hacking my way around it will be hard to maintenance code and develop new features.
It depends on the type of application you are working on mainly Angularjs is used in developing well structured Single based applications (SPA) using MVVM pattern.However,your project can combine both angular and Asp.net MVC which is called in this case Mini SPA application where each cshtml may contain many angular views routing inside same page will use angular routing while routing between different cshtml (MVC) pages will use MVC routing.

Do I need to know Javascript, jQuery, JSP, PHP to make large scale complex android apps? [closed]

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 7 years ago.
Improve this question
I know that JAVA is the main language used to make android apps. But is there any necessity of other languages such as Javascript, jQuery, JSP, PHP to make great android apps? please note that I am not talking about a simple "hello world" android app. I am talking about large scale complex apps.
Well, it dependes on what exactly the application does. If you require to have, for example, an API on a server to which you can make requests (and you want to develop the API yourself), you need to know those "languages". If the application is complex but it's contained within itself (that means that it doesn't require from you to develope on a server-side language), the only thing you need to know is Java.
On the other side, you don't NEED to develope those server-side applications yourself. You can build the app entirely on Java and consume the data from the servers, leaving the programming of the server-side applications to a third-party (like a freelancer).

Categories