i am a beginner at developing hybrid apps. And i came across of this magnificent cloud-based framework named Monaca. Now the issue is this, the Backend it provides is not useable for my chat application(well if there is a miss from my side feel free to comment), so my question is how can i approach this issue? i have heard of Backend as Service(BaaS), PubNub, Jabber and more but its really expensive on the long run. There is a solution with node.js and websockets. But i donĀ“t know how to use them with Monaca. Help would be much appreciated.
You should not have any issue to integrate any backend service to your Monaca project, as long as the service provides a JS API. You just need to follow the API integration docs and integrate it in Monaca. Did you already took a look at Azure? There is already a tutorial on Onsen UI & Monaca Blog:
https://onsen.io/blog/tutorial-todo-app-with-onsen-ui-and-azure/
Hope it helps!
Related
I have been breaking my head over this for over 2 weeks now and I don't seem to understand if what I'm doing is considered right or good practice. So I have been trying to implement a simple todolist of sorts with 2 services, the task service and the user service. I have created a few AMQP connections by reading through the documentation and was able to implement a request/reply pattern. What I don't get is, Am i doing this the right way? or is there a better way to do this? I'm pretty new to rabbitMQ and have plans of using this in my upcoming project with microservices. I understand the concept behind it but the implementation aspects of it seem bleak and I'm tired of going through very simple demo explanations.
Heres the application. Hope I get some help with this.
RabbitMQ and Nodejs with RestAPI
I have posted it in rabbitmq groups but I have no luck yet. Any help will be nice.
I'm still a newbie in firebase so i might not have the right understanding of this excellent service.
I'm building a blogging mobile app in a client-server architecture in which most if not all the logic are done server-side. all the client does is request and display the result. the client-server communication will be in REST API. and post-processing data then will be pushed to firebase.
keep in mind that this is all still a work in progress and i still don't have an actual working setup yet.
my questions are:
1. is this possible?
2. is this good practice?
a 2nd architecture I'm thinking is to have the client talks with firebase directly and have the nodejs process any events coming from firebase.
same 2 questions as above3. which is better?
mind you i'm also a newbie in nodejs and just start to learn nodejs for this purpose.
Many Thanks in Advance
I'm planning for an application that is a social media app with service like fiverr is integrated where user can communicate with each other and ask for advise.
Problem: What should be the best technology stack, weather it should be MEAN(Mongo, Express, Angular 2.x, Node) or MEN(Mongo, Express, React, Node).
Also I want it to be a REST web app, so that I can develop mobile apps later. So should I use some NodeJS framework like KeyStone or some generator like generator-meanjs. And what should be the directory structure or architecture for this.
Thanks
Choosing the best technology stack is up to the expertise of the group who would be working together. Since you are mentioning about MEAN I assume that you are well acquainted with Javascript. The answer to your other question of having the REST web app, Mean JS does provide you with the REST APIs (courtesy ExpressJS) while using CRUD module generators, You get that out of the box if you are going with mean.
Though all these utilities will help you get started from scratch in no time it really depends on the business logic of how you would want to capture the work flows. From what I get fiverr service seems to be a kind of free lancing website where one would show case their skill set and get hired. Unfortunately fiverr doesn't seem to be having an API where you can integrate your service.
Edit1: To build a service like fiverr you have to tie in various aspects not just the technology stack. There is business logic which hsa to be defined on what you'd want your app to acheive. For example let's assume you are doing some thing similar to fiverr, You would have to account for eCommerce stuff that would be happening. You would have to have user management built in to your app.(Mean.js does provide a few aspects of this, user signin/signup social media integration). Every thing else depends on what you'd actually want your service to acheive, All the best :)
I need to make a Meteor website into an OAuth 2 server and I'm not finding a lot available. There are lots of OAuth clients:
https://atmospherejs.com/meteor/oauth
https://atmospherejs.com/meteor/oauth1
https://atmospherejs.com/meteor/oauth2
But few servers/providers.
https://atmospherejs.com/khanghoang/oauth2-provider - Basic, not fully functional
I can't tell is this provides server capabilities as the documentation is light:
https://atmospherejs.com/meteor/accounts-oauth
I'm considering converting thomseddon's node-oauth2-server over to a meteor package, but want to know if there is something else available:
https://github.com/thomseddon/node-oauth2-server
I work for Prime8Consulting and we just finished writing an oauh2 client/server package for meteor. It has lots of documentation and example applications that demonstrate how it works. https://github.com/prime-8-consulting/meteor-oauth2
We are excited to get feedback.
I'm trying to build a website myself but I also want to build a native mobile application that will access the same DB in the future.
What I'm thinking now is using Node.js to build Web Services wrapper for the DB and every DB operation will be executed via web service API. And for the website framework, I'm going to use Rails.
Please let me know whether this is a good architecture or not. I'm not sure whether encapsulate data with Web Services is a good idea. Will there be any performance issue? And if it's feasible, which DB should I use? And can rails communicate with DB via web services?
Thanks a lot!
Update
Why do people down vote this question??
I think you have more technology than needed in your architecture right now.
Personally I would create a REST api on top of the DB (using either node or Rails - both are super easy to do this with and both can use pretty well any db)
Then you can write any number of "apps" for the front end process, whether they are web apps, ios apps, android apps, etc... They will all get their data from your REST api on the backend.
You might even consider writing the front end as a single page app using Angular, Knockout or Backbone, something like that. If you do that with node, your entire stack will essentially be written in javascript. It can get confusing for a newb, but it's super powerful.