Feature differences between shopify_app and shopify_api [closed] - ruby-on-rails

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
What I might be missing out by using the shopify_api library on a Rails API only site VS generating an app using shopify_app?
On the shopify_app github page I see things such as WebhooksManager , ScripttagsManager , etc. I am wondering if there is a subset of useful and critical tools I may need that does not come with shopify_api . Currently new and trying to learn the toolset

I never used the Shopify App till recently, I only ever used Shopify API. I found it much simpler to get work done using Sinatra and rake tasks as a combo, perfect for a lot of Shopify work.
If you look into Shopify API, it is really ActiveResource tuned for the Shopify API. Now there is GraphQL too. Really handy stuff. Handling the security of Webhooks, App Proxy or Script Tags is a couple lines of Ruby code, so you decide if pulling in 250,000 lines of Rails (for Shopify App) is worth it.

Related

How to create a user/event tracking tool, backed by Ruby on Rails [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
are there any good references to start looking into building a simple but efficient tracking/event tool? Super simple version of a tool like Google Analytics. I am assuming this consist of two separate applications. One for the front-end which gets embedded into the client's website, and a back-end API to handle the events, queue, etc.
Preferred tools for the back-end for me is Rails.
I appreciate the help.
You'd be reinventing the wheel, but you'll need a javascript library to track the user and a rails API. Pretty much what you seem to know you need.
Here's the documentation on building a rails API: https://guides.rubyonrails.org/api_app.html
Refer to the top answer here for the javascript module: User Activity Tracking or Logging with javascript

What could be alternatives in Phoenix for devise and kaminari in Rails? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've been a rails developer for a while and familiar with devise gem for authentication and kaminari gem for pagination.
As you know, these two gems are almost essential for building a rails web application.
Now, I would start to build a web application using Phoenix.
Is there any hex to borrow the power of authentication and pagination on Phoenix like devise and kaminari on Rails?
For authentication you can use combination of Guardian, bcrypt_elixir and comeonin. For the pagination you can use kerosine or scrivener.
It seems that there have been some structural changes on Phoenix 1.3. You can check this tutorial out for authentication. Also there is this canary module for authorization. It seems similar to cancan gem in rails.
However, no idea for a kaminari look-like module as I'm also a beginner in Elixin / Phoenix framework.
Two battle proven and most solid choices for me are - Guardian for JWT based auth and Scrivener as pagination engine.
However, in Phoenix both functionalities are quite easy to handle manually without external libs and this is what I would suggest the most.

Sinatra suitability for building a helpdesk system [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want to build my own lightweight ticketing system and I wonder which tool should I use for this. As I want to code this app in ruby, I'm chosing between ruby frameworks, mainly Rails and Sinatra and I wonder which one is more suitable for that job.
it's a personal decision. You could do it in either one, it just depends if you prefer Sinatra (which is more lightweight and concise) or Rails (more monolithic and comprehensive). If you're a beginner, I recommend trying Sinatra first because it will be simpler to understand. Also, nearly every skill you learn with Sinatra will be directly applicable to Rails. Sinatra is like rails lite. By the way, unless you're building this in order to learn a web framework, it might be worth searching for a open-source project you can use instead of having to make your own app.

Best Ruby on Rails CMS for a project that is not related to generating websites [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Just started learning Ruby on Rails here, and I'm about to start working on a backend for content management for custom-built mobile clients, where the clients connect to the server through a web-service.
I figured that instead of reinventing the wheel it would probably be best to just use a well-respected CMS gem to manage users and the various objects (products, product categories, images, etc), but every single one I look at seem to be almost exclusively made for generating websites, and not to manage content for a webservice.
Are there any good RoR CMS gems out there that I can tailor to fit my needs, or do I have to write my own from scratch?
You could use rails_admin for your CMS application.

Using FourSquare API in a Rails App [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Anybody have any good resources that might be helpful in trying to integrate the FourSquare API into a Rails app? I'm specifically looking for a good tutorial. There doesn't seem to be much out there yet. There are a few ruby gems, but they are pretty bare bones and I need a bit more hand-holding.
Here is a resource that I've found so far:
http://tedgrubb.com/
Stack Overflow won't let me include a second hyperlink, but you can also google: Foursquare ruby gem for another resource.
I have not done much work with APIs in the past, but I am very comfortable with Rails. What I need is a little better sense of exactly where all the pieces fit. A basic tutorial is what I'm looking for.
Thanks.
This helped me. It's a working example of a Rails project integrated with FourSquare:
https://github.com/pierrevalade/foursquare-rails-examples
Quimby is an excellent ruby api wrapper:
https://github.com/groupme/quimby
It was built by GroupMe.
'foursquare2' Ruby wrapper for the foursquare v2 API
Refere this : https://github.com/mattmueller/foursquare2 which is good & helped me a lot.
You can able to get more foursquare API data as user less and with authenticated user also
by using the 'foursquare2' gem.
The foursquare-API gem seems like the only one out there that supports V2 of their API and seems like the best place to start.
This isn't an answer, but this may be a start:
http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails
http://developer.foursquare.com/docs/oauth.html
I'm having trouble implementing a 4sq rails app myself.

Resources