A Rails-centric frontend framework running over a permanent WebSocket connection. fie is a framework for Ruby on Rails that shares the state of your views with the backend. For each controller within which you wish to use fie, you must create a commander. fie uses commanders in the same way a Ruby on Rails application uses controllers. When an instance variable is changed in the commander, the vie
This article is the first of a series called "From Rails to Hanami" and it will show you how you can make a ToDo List with Hanami and compare it to the way you would do using Rails. What is Hanami? HanamiHanami is a MVC web framework for Ruby that prioritize the use of plain objects over magical classes with too much responsibility. Let's jump into some code! ModelsLet's say you want a Task model
After that, we need to configure our MRuby build. We need to modify build_config.rb. At the end of the file, let’s add our build specification. MRuby::Build.new('mrubyvst') do |conf| toolchain :gcc conf.gembox 'default' conf.gem :core => 'mruby-eval' conf.gem :github => 'iij/mruby-dir' conf.gem :github => 'iij/mruby-io' end In this case, we specify that we will use a gcc toolchain. Also, we will i
[IT研修]注目キーワード Python UiPath(RPA) 最新技術動向 Microsoft Azure Docker Kubernetes 第1回 RailsとSinatraで同じアプリを作るとどちらの作業量が多い? (野田貴子) 2015年6月 ※このコラムはトランスネット社が提供しているコラムです。 みなさんこんにちは!今月から始まったこのコラムでは、海外で話題に挙がったRuby on Railsネタを提供していきます。 今月のネタ元はこちらです。 『Rails vs. Sinatra by Example』 「例から見るRailsとSinatraとの違い」ですね。 Rails以外のフレームワークも見てみると、Railsの特徴を再確認できるのではないでしょうか。 RubyではRuby on Railsが飛びぬけて有名なフレームワークですが、Sinatraという軽量フレームワーク
Ruby is not the fastest language in the world, there is no doubt about it. This doesn't turn out to matter all that much – Ruby and its ecosystem has so much more to offer, making it a worthwhile tradeoff a lot of the times. However, you might occasionally encounter workloads that are simply not suitable for Ruby. In this talk, we will explore building a native extension with Rust to speed up part
Announcing Hanami v0.8.0 Posted by Luca Guidi on July 22, 2016 New validations syntax with predicates, high level rules and error messages. JSON logger format, faster static assets serving. Subresource Integrity, updated Content Security Policy, and new HTTP security headers. This is the first minor release after the project rebranding that happened a few months ago. We waited so long to release t
Hanami is a Ruby framework designed to help you create software that is well-architected, maintainable and a pleasure to work on. Build your first application now. It will take you only a few minutes to learn how to do it. Our community values We want you to have a great time in the Hanami community! We welcome people of all backgrounds, genders and experience levels, and respect you all equally.
Haml (HTML Abstraction Markup Language) is a templating system that is designed to avoid writing inline code in a web document and make the HTML cleaner. Similar to other template systems like eRuby, Haml also embeds some code that gets executed during runtime and generates HTML code in order to provide some dynamic content. In order to run Haml code, files need to have a .haml extension. These fi
TL;DR MVCもレイヤで捉えて関係性の設計をするといいのでは 普通のRubyオブジェクトを積極的に使いたいですね 「パーフェクト Rails」に期待しましょう 長くなって面倒くさくなり、途中から手抜き感が半端ないですが許してください この記事の位置付けなど 7 Patterns to Refactor Fat ActiveRecord Models - Code Climate Blog [翻訳] エリック・エヴァンスのドメイン駆動設計 エンタープライズ アプリケーションアーキテクチャパターン これらの参考文献を踏まえてRailsアプリケーションのリファクタリングをしていて、だいぶ方向性や考え方がまとまってきたので、これからチームに合流する人を想定読者に、Qiitaがどんな感じで作られているのかを文書化したものです。(参考文献の一覧は記事の最後にあります) 内容的には文献[2,3]を踏
Sinatra is a free and open source software web application library and domain-specific language[2] written in Ruby. It is an alternative to other Ruby web application frameworks such as Ruby on Rails, Merb, Nitro, and Camping. It is dependent on the Rack web server interface. It is named after musician Frank Sinatra.[3] Designed and developed by Blake Mizerany, Sinatra is small and flexible. It do
Padrino is a Ruby web framework built upon the Sinatra web library. Padrino was created to make it fun and easy to code more advanced web applications while still adhering to the spirit that makes Sinatra great! Lightweight The Padrino code base has been kept simple and easy to understand, maintain and enhance. The generator for each new project creates a clean and compact directory structure keep
Compress the complexity of modern web apps. Learn just what you need to get started, then keep leveling up as you go. Ruby on Rails scales from HELLO WORLD to IPO. You’re in good company. Over the past two decades, Rails has taken countless companies to millions of users and billions in market valuations. These are just a few of the big names. There have been many hundreds of thousands of apps cre
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く