Is there a recommended way where you can use the full meteor functionality like collections, calls, sync, reactivity in other frameworks like Tizen Web?
Blaze at least seems to be useable: https://developer.tizen.org/community/tip-tech/using-blaze-templates-tizen
despite the recommendation on the tizen website the asteroid component is quite simple to include and provides much more functionality for connecting meteor applications from standalone apps or websites.
Related
If nativescript is using javascript engine behind the scene. If I use angular for nativescript development, shouldn't I be able to use angular-fire2 for firebase.
if I could code sharing would be much better with Web and Mob App.
https://stackoverflow.com/a/46088932/6408287 contains the answer you are looking for. In short - NativeScript does not implement the node.js modules specification.
Angular-fire2 is made to run inside node.js, whereas mobile firebase sdks are made to run on mobile platforms. Efficiently. Hence the difference in APIs.
Even if you were to somehow run angular-fire2 on NativeScript, chances are it wouldn't execute as well as the mobile sdks would.
Just started to discover meteor. created app with DiscoverMeteor book, but misunderstood many moments. then read Your first meteor application and Your first meteor application books. Realized that Todos example is really too simple to cover many important things. And only after that I found the official guide on Meteor.com! now reading about all these complex (for my opinion) things. and have 2 questions:
What router should I prefer to use? I want to create fast app with lots of data loading from the server. Found information that Iron router is deprecated, and Flow router is recommended nowadays, but also found that flow router can not route on server, only on client. And that exactly client routing is the reason why for example soundcloud is really slow. So that is the question - I know nothing about server/client routing, but want to make right decision for the future project.
What ui-framework to use? I read that blaze is easy to start, but react js is really powerful. So: is Blaze enough for serious project (like a popular blog)? Or do I have to learn react js in order not to rewrite code in the future?
I am working with Meteor 1.3.2.4, which is latest in market and believe, you don't have to do anything out of the box to go with experimental UI-Frameworks and stuff.
Blaze template which is handlebars based implementation is best.
Blaze template is very well glued with Socket.io, futures and DDP implementation for cutting edge implementation for asynchronous and reactive behaviour on UI.
Blaze is really good for cumbersome, heavy data websites as well. If you have any doubt, i can skype and show you what i have implemented in just 2 days on development using everything given by Meteor.
React.js, Koa.js (re-written Express framework), express etc are very good and powerful, but I think implementing it at initial level of your grasp is overkill. Go with Blaze first.
There are hundered sitting and developing Meteor.js just for you to be comfortable. I am not at all biased, I am giving you my open opinion.
I worked with Laravel 5.2, Play framework, MEAN.io, DJango in past, but believe there is nothing like pure Meteor js with there own packages. There are many videos on youtube like Meteor nights and stuff where you can find the developers from all around the world developing huge stuff just using stuff given by Meteor js.
For routing flow-router is good, even iron:router is awesome and easily gettable.
This video can guide you very well.
Flow Router is the recommended router by the official Meteor Guide. It's also the popular choice these days, and for a reason: it's a high quality router implementation.
As for MVC, it's really like choosing a religion. React has a huge community, possibly a bright future, and it's not Meteor-only unlike Blaze. But some folks find Blaze templates nicer than JSX files. I think it's easier to get help on StackOverflow if you pick React, but Blaze might be easier to get started.
Maybe this post helps a bit: How to set up React with Meteor?
I am going to build a social intranet for a company with about 750 employees. They already use WordPress with the BuddyPress plugin. Also, they have multiple internal systems which would have to supply additional data for the intranet. The application has to available for PC, and smartphone/tablet via browser and as a standalone app. Both for at least Android and iOS.
So far, we've been talking about building a responsive HTML5 webapp which communicates with a centralized API. I would have to build the API, too.
For the frontend they've recommended me to use AngularJS, but I'm concerned about performance if you combine it with WordPress/BuddyPress. Does anyone have experience with this? And would you build a responsive website or a seperate mobile version?
I've been comparing multiple solutions to build the mobile app with (near) native performance. These are some viable options I've found:
Appcelerator Titanium Studio
AppGyver Steroids
Xamarin Studio
In your experience, what are the pros and cons with these options? Are there any pitfalls with any of these? Do you have other recommendations?
I don't see that Wordpress / Buddypress in combination with AngularJS should cause any performance issues.
There are basically two aspects of the app which you're involving here. The server-side, which is running Wordpress, and then the client-side which is running AngularJS.
In any case, if you have queries on a huge DB, or a slow server, or a series of recursive queries, you will experience performance issues on the server-side with Wordpress, which might result is slow load times. In any case, if you have many DOM items displaying on the client-side, with complex CSS styling, you may experience some performance issues on the client-side, especially with older smart-phones, which might result in a slow/choppy UX experience.
There are some client-side performance implications with AngularJS when using ng-repeat when you get into objects with hundreds of sub-objects and deep data binding, which could easily cause some client-side performance issues.
I've been using Wordpress / AngularJS together for a year developing web apps intended for use on all the prescribed platforms, and there's no perceivable performance issues - certainly if there were any, I can't see how it would be caused by the Wordpress/Buddypress and AngularJS combo, since they're handling completely different sides of the app.
Effort:
I am building a word game based on a chat web-client where I need to make a server call on input chat text to validate it before broadcasting on the chat.
I am aware of Meteor providing latency compensation out of the box. But given its still in "early preview" makes me seek other alternatives.
What I tried:
Unfortunately my web search for "latency compensation framework library" doesn't yield anything other than Meteor (including non-personalized results).
Question: Are there any other alternatives that provide latency compensation -or- can make the job easier? I am hoping other developers might have encountered something useful/relevant.
Although Meteor is in 'early preview', its code is very close production ready and a lot of startups and other early adopters are using it for production-level code. You aren't going to find anything that gives you wings like Meteor because no such alternative exists.
As a hardcore Meteor convert and someone who's used many other frameworks, I recommend you to just try Meteor out. As they say, it only takes a weekend for you to build an app in Meteor and decide whether it's right for you.
Having said that, I will attempt to answer the question and list the distant-second alternatives to Meteor that you probably won't want to use:
Derby
Sails
What you're seeing right now in the various real-time full-stack Javascript web frameworks is the future of Web development, cutting down dozens of people and thousands of man-hours of work needed to develop a software project. There are some fast boats sailing that are leaving server-side rendering behind, and you should probably just get in one of them and get going.
RethinkDB uses term 'latency compensation'.
I've also tried to gather per-feature alternatives to Meteor
Meteor is a really cool framework. you can build the complex data driven application very easily using meteor.
But, this framework currently supports only the MongoDB as back-end database.
I have recently created full stack framework called Nooljs which is similar to the Meteor. Now I have open sourced it. It support all the database connections including MySql, ms-sql, and MongoDB. The complex data driven application can be created easily using this framework.
This has been developed using well known existing framework such as Angularjs, Node, express-js, and socket-io.
Easy to build complex data driven JavaScript applications with minimum coding.
Support multiple data connections suck as Ms-sql, MySQL, PostgreSQL, and Mondodb.
Real time framework build top of Express-js and Socket-io
The client side is powered by the Angularjs.
The layout can be build using the Angularjs tags and elements.
Modularized layout to simplify the complex web pages.
Can be mixed both Express-js and Socket-io
I am evaluating Meteor as an alternative to developing real-time capabilities using socket.io and it looks like awesome framework for single page real-time apps. It is great time saver that enables developer focusing on the business logic of the app, rather than writing boilerplate code. However, I find it still pre-mature for a medium size app with multiple pages/routings and REST api. Plus, number of features like i18n are still not available which requires some time investment to develop by myself.
I think that it would be great if I could combine Meteor and Express and use Meteor in use cases where it really shines.
Is it possible to develop an app using standard Express/Mongo stack and use Meteor for only specific part of the app where I need real time collaboration?
For example, can I share a session between Express/Connect and Meteor?
Thanks!
This does not directly answer your question, but I thought I'd throw it out there:
You should check out the community packages on atmosphere. Specifically, I'd recommend having a look at iron-router and i18n (I'll note I have not used the latter).
I've built a large production app that uses iron-router and it's running smoothly. You may also be able to use its server-side-routing capabilities to implement your REST api.