Tagged Questions
1
vote
1answer
30 views
rails 4 Server Sent Event Method not handled by firefox
I am building a rails application using ActionController::Live and and Custom SSE library,
My server is puma, and rails version is 4 this is my code in my controller:
include ActionController::Live
...
0
votes
1answer
69 views
Ruby on rails application - trying to convert some processing from server side to client side
Trying to simplify oiginal question below.
How do I use Json/Javascript/Coffeeescript to send values from the screen partial (_evaluation_assumptions.html.erb) to the assumptions in the services ...
1
vote
0answers
150 views
Client & server side form validation with AngularJS in Rails
How to avoid duplication and show the same error messages using AngularJS client-side validation & Rails server-side one?
0
votes
0answers
122 views
Datatable doesn't not work with serve-side processing
I am new in datatable and I am would like to insert a datatable with serve-side processing and some other features.
I followed this tutorial in order to insert my datatable in my app and it worked.
...
-2
votes
1answer
74 views
How could a cms application split content over multiple pages? [closed]
I have an idea for a website that involves content being split over multiple pages. Similar to this:
http://tympanus.net/Development/3DBookShowcase/
However, I have no idea how I could work out how ...
0
votes
2answers
60 views
Ruby on rails without http request
I'm currently developing a server that can get data over the internet from specific device i have and log it into a database. Unfortunately I dont have control on the way this device communicate.
...
2
votes
2answers
2k views
Ruby on Rails + jQuery Mobile + phonegap - All server side HTML rendering - Will it work?
In an attempt to be able to create a rich application using ROR3 Jquery Mobile and phonegap after reading this article - http://fuelyourcoding.com/getting-started-with-jquery-mobile-rails-3/
I was ...
0
votes
1answer
330 views
Ruby on Rails frontend and server side processing in Python or Java.. HOW, What, Huh?
I am a data scientist and database veteran but a total rookie in web development and have just finished developing my first Ruby On Rails app. This app accepts data from users submitting data to my ...
4
votes
1answer
670 views
Server side rendering for dynamic pages with PhantomJS on Ruby On Rails
I have a WebPage made that is 90% Javascript. All of the WebSite is rendered dynamically.
I want this content to be rendered by the server as well so that Google can crawl and index all of my ...
1
vote
1answer
1k views
Rails datatables server side processing impossible to sort/find
If i change the processing from client-side to server-side, i will get all information for the table, but I can't search and sort the columns. But its possible to go to the next page. I have only 2 ...
2
votes
2answers
482 views
Javascript Templating vs Server Templating
Recently i was about to start a pet project with a fellow friend, We got on a debate on how to build the website, Whether to let the server take care of the template and data manipulation or use some ...
4
votes
1answer
66 views
RoR, How should I model this?
I asked this question earlier but I was very vague and a lot of people suggested that since I am just starting with Ruby and RoR, maybe it's better if I focus on "Hello, World!" first. I appreciate ...
1
vote
2answers
461 views
Making the move to Java Spring from Rails
After building 5 Rails websites and having to Deal with Rails 2.3, 3.0 and 3.1 version differences, installation hassles and unexpected memory spikes with Ruby and other gotchas, I've decided to make ...
0
votes
1answer
464 views
Rails 3 Timer to run a method (Delayed Job)
I want to set a timer on server side to run a method at a specific time. Has anybody done this using just rails and no AJAX? Thanks a lot. I'd appreciate any input :)
update:
I've read about Delayed ...
0
votes
1answer
38 views
Any reference material for fetching search results from retail sites?
If the question hasn't already done so, allow me to flag myself as a relative newcomer to backend programming.
I'm really just wondering if anyone could point me to some literature on how to (for ...
10
votes
4answers
7k views
HTML5 — server side
How much does it matter what server side language is used for building a web app to take advantage of HTML 5? It seems to me that the ruby community will probably have the fastest uptake, and as a ...
4
votes
7answers
3k views
Check if Javascript is Enabled (Serverside) with Rails
How would you check if javascript is enabled in Rails? So that I could do something like this in the views:
<div>
<% if javascript_enabled? %>
<p>Javascript ...
1
vote
1answer
207 views
What are the main concerns when generating client-side JavaScript from the server?
This seems like a somewhat common issue and I'm wondering what the common pitfalls, best practices, best approach, security concerns, etc., are when creating javascript on the server to be later ...
0
votes
7answers
234 views
Prevent hyperlinks from being entered into a html form: client-side or server-side validation?
I'm still debating whether I want to do this or not but what I'm considering is preventing users from entering hyperlinks into a HTML form in my app. This is to avoid spammy links from showing up for ...
1
vote
3answers
236 views
Create a webservice that keeps data secure?
I want to create a webservice that allows users to enter the longitude and latitude for a particular building. Buildings will belong to a broader category called a Region. If a specific building ...
3
votes
9answers
405 views
Starting out doing server side things - what languages and techniques to choose?
I've been doing html, css and javascript for quite a long time, mostly for my very own enjoyment. I would say I know fairly much, I've created many simple games and apps and experiments with ...