How to create Login application in rails 6 using spine.js - ruby-on-rails

I want to create Ruby on Rails(version 6) application using spine.js as a front end. I am not familiar with spine.js.
Can anyone help me to integrate spine.js in rails 6 application.

You can check other compatible javascript frontend framework with rails 6 which may more suitable with your application.
Check below link.
https://hackr.io/blog/10-best-javascript-frameworks-2019

Related

CMS for rails 2 app

I am currently working on a 7 year old project which is running on Rails 2.3. Are there any CMS's similar to Refinery CMS or Active Admin that still run on this version of Rails?
I'd prefer to use a gem like Refinery or Active Admin rather than creating one myself.
We've used RadiantCMS in our 2.3.x Rails apps, give that a try.

is it possible to integrate Refiner CMS into my pre existing Rails application?

I am working in a Rails application, is it possible to integrate Refiner CMS into my pre existing Rails application? if not do i have to create a Refinery project and then integrate my application with it?
Any suggestions would be helpful.
thanks,
Balan
Yeah that should be fine.
Refinery is just a gem. So you can include it in your existing project and run the specific generators you need if you are not already running Devise.

Rails 3 / PhoneGap: Converting a Rails app into an Phonegap iOS app?

I have a site built on top of Rails. In essence, I want to release a lightweight version of it for the appstore, and I think Phonegap is a good solution w/o writing a full iOS application.
What would be the easiest way to get something like this out of the door? I'm new to PhoneGap and would love if an experience dev could shed some light on how with is done. I feel it would also be a valuable resource for many other Rails devs.
My rails 3 app uses devise for authenication, carrierwave for file processing, amazon S3 for storage, and Heroku for hosting. Can someone give me some basic insight into how all these components are wrapped up and ablwe to be used with PhoneGap?
I'm new to Phonegap too, but I'm exploring the same idea than you and I've found this useful screencast: "PhoneGap + Rails 3 API"
http://vimeo.com/18763953
The idea is that you make an HTML5 client side app that makes calls to a Rails API on the server side.
Here is the code of the screencast demo:
https://github.com/quickleft/kbomb_phonegap_server (Rails API)
https://github.com/quickleft/kbomb_phonegap_client (HTML5 client with
Phonegap).
Hope it helps!
I think it could be relevant to check my phonegap-rails gem gem and my example rails / ember.js App that is exported with Phonegap. It also implements token authentication based on ember-auth and several OAuth strategies on top of Devise.
Currently in de the devel branch: https://github.com/joscas/base_app/tree/devel
Heroku deploy: https://starter-app-staging.herokuapp.com (the desktop version)
The gem exports assets, fixes paths etc. to allow seamless export of single page apps based on a rails backend.
At 37 Signals they rendered their html SERVER SIDE and just created an app wrapper. Here's the article: https://signalvnoise.com/posts/3743-hybrid-sweet-spot-native-navigation-web-content
This is an important difference in most approaches as most will re-develop their front end using a client side framework and it has the potential to save users a bunch of time. The downside is that I've heard rumors you can't get into the iOS app store, but it doesn't seem like they had a problem with it. There's also services like GoNative.io that will wrap your app for you.
A video and code that does something similar to Javi's answer can be found at
Using Phonegap as a native container for a Rails 3 App

PhoneGap and rails 3: How to interact with a rails 3 app

totally PhoneGap newbie here, but looking to learn the basics of how to interact with a Rails 3 web app using Phonegap.
I'm looking to release a lightweight version of my Rails 3 web app as an iOS app in the appstore. I understand how PhoneGap uses CSS/HTML/JS to work but how do I tie in my Rails 3 app functionality/ruby code. Thanks a lot for any insights.
Your production rails app will live at some domain. Specify a manifest of css, js and templates to be cached locally and distributed with your app. Point your XHRs at your production rails app to fetch data and render everything locally with something like mustache.
A client-side MVC framework like Backbone is useful in this situation.
Read PhoneGap's Get Started Guide.
I'm currently working on a phonegap app integrating with .net. I do all of my interaction with my .net webservice by using xui's xhr call that return/submit either json or xml data.
Refer to the following link to read more on xui and xhr http://xuijs.com/docs/xhr

Upgrade rails 2.3.8 project to rails 3

I have created a project using rails 2.3.8.. Now i need to move rails 3.x.x ..so how can i upgrade my project also?
please tell some tutorial or link to upgrade this?
Start by using the rails upgrade gem. There are several tutorials out on the web that can walk you through what you need to do.
Most importantly, TEST your app thoroughly after doing so.

Resources