I am new with NativeScript, Vue.js, and Firebase.
I have a built web app using Vue.js and Firebase, but now I don't know how to integrate the code to NativeScript using the same code of Vue.js.
Is there a way to do this? And how can I start it?
I worked with #jlooper over the last couple of weekends to get a definitive answer for this because there wasn't one anywhere previously:
https://medium.com/#groksrc/how-to-set-up-nativescript-vue-js-and-firebase-465354d4296b
There are instructions on Eddy's plugin README are mostly complete, but there are a few gotchas that I point out in my blog post that you need to be aware of. Also, the readme isn't specific to vue so it's not immediately clear where to put the Firebase files. Those are all explained in the blog post as well as a couple of links to other small projects from Jen that will get you started.
Related
Í am A newbie working with the MERN stacks, I just managed to build an ecommerce website from scratch,but then I hear nextjs is good for server side rendering which make our web app load faster and also seo friendly, I looked into the documentàtion, but I am yet to understand how I mange state in next js...càn I use redux,and how?
Thanks
It's easy to integrate redux into Next.js
These examples come from the official Next.js repo
with redux
with redux-toolkit
with redux-thunk
if you want to manage state with redux on server-side, you can follow this example with next-redux-wrappper
I´m creating an app with nativescript and i need push notifications, so i read about onesignal and it looks promissing, so i have created an account with them, follow the instructions for ios, then they sent you here where you are suppose to configure the nativescript SDK for your mobile app. Well, i´m not using typescript, so my first question is:
Where is the javascript version to configure the nativescript SDK,
does anyone knows?
My second question is related with the data that my app receives, which is throught a database, i have a webapp and everytime a user INSERTS in the database, a listview in the nativescript app is "fed"...but when this happens, i need the script from onesginal to send the push does anyone ever used it?
Thanks for your time
Regards
TypeScript makes it easy to maintain large scale JavaScript applications, NativeScript or Angular itself is written in TypeScript for same reason. So personally I would recommend getting started with TypeScript for better.
If you want to convert TypeScript into JavaScript, simply remove all typings from your code, replace import statements with require. At least this should work in NativeScript environment as it supports most of ES6 syntaxes. If you prefer ES5, simply use any online compiler to get JS version of same code, TypeScript Playground for instance.
Also NativeScript docs got examples for extending app delegate in JavaScript if you need further guidance on this.
I don't think the plugin provides any interface to handle notification data at the moment. If you are familiar with the native apis, you may directly access them from JavaScript to access the data sent from server. If possible, I would recommend migrating to Firebase which supports end to end integration with proper examples.
I am a Front-end developer with limited backend knowledge.
My question is do I need other backend frameworks like Django or Ruby on Rails if I use Firebase as a backend? In other words, can I solely depend on Firebase as a backend and build a single page web application or Mobile application without writing a single line of backend code?
Thanks for your time viewing the question.
I was also looking for a platform to minimize server code and I found that firebase can help a lot.
You will get plenty of docs on net. You can start at angular fire + firebase doc
https://www.firebase.com/docs/web/libraries/angular/quickstart.html
Following document was helpful for me to design my app, which requires some amount of off-line processing too.
https://firebase.googleblog.com/2013/03/where-does-firebase-fit-in-your-app.html
I am working on a project using meteor and I want to deploy it only as a web app but not a website, it there any way of doing it?
The simple answer is yes. I guess you would probably like to know how. This is a very broad topic specific to your application, its users, and all of your needs. Do you have a specific question you can update us with?
I have a few Wordpress sites and I would like to create apps (IOS and Android) for all of them. I did some research and found that PhoneGap (or similar products) appears to be the solution.
The App will simply get information from existing Wordpress site. I do not plan to add login/edit/post features to the app at this time. My sites have both Pages and Posts. Does that matter?
Is there any better solution than PhoneGap?
Thanks.
The two current big multi-platform solutions for apps are PhoneGap and Titanium. PhoneGap is less work, but Titanium has better performance and uses the platform default UI. Since you aren't building an advanced app, just reading JSON feeds, PhoneGap should work great for you.
It does not matter that you have both pages and posts. You will need to use a JSON API in order to get the data from WordPress. There are a couple plugins that do this and they are working on adding a JSON api to core right now. Until the core API is done, I would recommend using the WordPress.com JSON API that's included with the JetPack plugin since its made by Automattic and it has great documentation. If you go this route, you can also fairly easily add login/editing/posting later on with OAUTH2.
You should also check out Steroids.js, which builds on top of PhoneGap and adds features like real-time updates to devices without compiling, native UI elements etc.