Turbolinks vs JS MVC Frameworks? [closed] - ruby-on-rails-3

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
We have applied EmberJS as a framework and using Rails 3.2 looking to migrate to Rails 4.0
A lot of push is being done by Rails community for turbolinks, on one side our site works well with the client side framework. And EmberJS gives a good support to write the custom code on the ends where we need one.
My question is how people perceive turbolinks as a way to make dynamic pages. Is going along with turbolinks implicitly meaning we must have as lean as possible Javascript (which means any JS framework is left redundant). So, how do we see would be the growth/support of the JS frameworks and would turbolinks become a defacto.
Is it the right time to start scale up for turbolinks and what are the good references.

Turbolinks is not going to replace ember. This is really an apples to oranges comparison.
Turbolinks isn't a way to make dynamic pages, it's just a way to make your site faster by replacing the body content.
If you're already using Ember you should simply ignore turbolinks.

Related

RABL vs Json Builder [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
As part of a team, we are building an RoR application completely driven through API's. We already have a web app, its just that we now want to make it completely API driven. We initially kicked off with using RABL Templating Engine for generating the JSON Response. We recently observed that by using JSON Builder as an alternative to RABL, our response times increased by about half a second for an API call in our app that users would hit most often . Before we take a final call on deciding to use JSON Builder for all our API's going forward, I just wanted to know about the pros and cons of using RABL and JSON. Also, it would be nice if one could compare the two templating engines mainly keeping performance in mind wherever feasible.
Sharing any relevant links would also be helpful.
Kindly let me know your experiences with the usage of both these templating engines. Thank you.

Any recommendations for a lightweight framework with MS SQL Server support [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Note: I have been out of touch with the PHP world for quite a long time. I am primarily a Python developer.
I have to build a small app in PHP5. Please suggest me a lightweight framework which:
Has MS SQL Server Support that runs on Linux as the app will be running on Ubuntu.
Is fast to learn, use and setup.
Performance is not a critical issue. As the app will be used on a private LAN by about 10 people for data entry mainly.
Suggestion about a templating engines will also be appreciated
Regards
Let's kill off the easy question first - by tempting, I'm assuming you mean templating. If so, Smarty is usually a very good contender as it is simple to learn and very powerful.
Now, for the framework. A wide variety of PHP frameworks have switched to PDO for SQL requests, which means that most of them will easily accomodate MS SQL. CodeIgniter does, so does CakePHP last time I checked.
Ultimately, pick what you know rather than picking something that looks fancy, unless you need the extra features. The learning curve will be smaller.

How to add extensions that developed as modules and behavior in ny yii? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
How to add extensions that developed as modules in yii?
can any one explain extensions as Yii modules and extensions as Yii behavior
Refer
The first part of your Q is a duplicate with this q: https://stackoverflow.com/questions/12008314/modules-in-yii-explain
regarding the "How to Use Modules" part. Modules are may be the easiest way there to extend yii, since all you need to do is two tiny steps:
Extract the code under base directory /protected/modules.
Declare the used module in the application configuration:
return array(
...
'module' => ('moduleName', 'some argument', 'another argument'),
...
);
I haighly recommend taking a look at the docs above then User-Module (as code sample) to get a better understanding to yii modules.
As for "Extending Yii by Behaviors", i have been confused myself for a while about that, until i had a chance to use the Multi-Lingual_Behavior
There is no typical way for extending Yii with behaviors, simply because there are multiple options (as you can see in the docs here & here) for using (attaching) behaviors to components (application, models, controllers, ...etc)
That said, most of yii-extensions there are supported with good Usage docs that are enough in most cases to get them working.

Tools for side-by-side localisation of iPhone App [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have an App that is translated to four languages. I find that updating and maintaining the strings files extremely tedious.
Is there a way to edit different translations side by side similar to what IntelliJ provides:
(source: jetbrains.com)
I would also be happy with a simply MS-Excel to Strings conversion script, where the Excel would be the master and the .strings files would be generated.
These apps saved me from a world of hurt. There's no guide, so you'd have to figure it out yourself. The apps are free though and very well designed.
http://www.loc-suite.org/
My company use a tool called Localization Helper from Mac App Store. I reckon it's pretty good.
How about Linguan?

A simple project [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I want to build a website that is a simple password generator and that has a nice design.
passwordbird is a simple password generator and http://www.atebits.com/ has a design that I really like. What languages should I use for this project? My main goal is to gain experience in building websites; I don't expect for it to be perfect. I just want to learn something new and apply it to an idea that I have.
HTML, CSS and JS. Here's an example JS script on password generation: http://javascript.internet.com/passwords/password-generator.html
Good luck.
Good training would be a basic HTML&CSS site, and a php script to generate a password.
I imagine you would be able to specify things like length and composition of the password right? Throw all that in a form and send it via Ajax to the php script, get the generated password and display it. For the Javascript(Ajax) part, I'd use JQuery