会社でRedisを使っているサービスがあり、そのメンテナーになった。RedisがIn-Memory Databaseということは知っていたのだが、その他の特徴や操作方法などまったくわからないので、チュートリアルを中心に手を動かしながら学んだことをまとめていく。またNode.jsからRedisにアクセスする方法もあわせて紹介する。 Redis の特徴 Redisはメモリー上にデータを保存するKey-Value型のNoSQLデータベースのひとつ。用途はデータベースだけにとどまらず、キャッシュやメッセージブローカーとしても利用される。 In-Memory Database RedisはIn-Memory Databaseなので、On-Disk Databaseと比べ非常に高速に動作する。ちなみにIn-Memory DatabaseとOn-Disk Databaseの違いは以下のとおり。 インメモ
I wrote this article to help you move from pre-ES6 knowledge of JavaScript and get you quickly up to speed with the most recent advancements of the language. JavaScript today is in the privileged position to be the only language that can run natively in the browser, and is highly integrated and optimized for that. The future of JavaScript is going to be brilliant. Keeping up with the changes shoul
むかしからなんでも斜にかまえるクセがある。 行列を見ては「よく並ぶねえ」と思い、流行りの曲を聞いては「これが流行ってんのね」と少しうがった目で見てしまうのだ。 そこでふと「斜にかまえる」「かまえない」を意識的に切り替えるとどういう感情になるのか気になった。実験してみます。 やり方 簡単にやり方を説明すると ①何かモノなどを目の前に置く ②それに対し、1分間は斜にかまえ、もう1分間は斜にかまえずに感想を言う。これだけだ。 ちなみに「斜にかまえる」を辞書で調べると、「物事に正対しないで、皮肉やからかいなどの目で見ること」とある。 わかりやすく言えば、1分間は皮肉めいた目で見て、1分間は素直に感想を言ったり肯定してみたりする実験である。 ひとりじゃ心もとないので、今回は後輩と一緒にやることにした。 後輩の郡司さん(左)と山宮さん(右)。二人とも斜にかまえがちな性格を自覚しているそうだ。 とりあえ
国内向けのサービスであっても在日外国人が使うこともある。そういった背景から昨今、国際化対応(多言語化対応)の重要度が増している。とはいえフロントエンドエンジニアがウェブアプリケーションを開発しながらメッセージ翻訳を行うには限界がある。できれば翻訳作業はローカリゼーションチームに任せたい。 しかし、ローカリゼーションチーム(非エンジニア)にgitを使って言語ファイルをダウンロード、JSONやYamlファイルを見ながら翻訳、終わったらPull Requestを作ってもらうというのは少し酷だろう。もちろんJSON→Excel→翻訳→JSONなんてことはしたくない。 そこで当記事ではTransifexとvue-i18nを使って、国際化対応におけるフロントエンドチームとローカリゼーションチームのコラボレーション環境の構築方法について紹介する。あわせて実運用で得たノウハウを共有しようと思う。 また、当
We spend a lot of time refining digital experiences and animation is often an afterthought when it comes to building them. In reality, many designers have no animation experience and we animate based on what “feels right”. This feels right because it’s natural and it’s natural because it mimics our everyday interactions with the real world. On the other hand, we tend to add animations to digital p
As a UX designer, it is important to build empathy and celebrate accessibility requirements as a set of design constraints to build a better product. Accessibility is a vast subject. This article focuses mainly on guidelines specific to designers and content writers (to some extent) that would help to build a more accessible product. Understanding AccessibilityAccessibility allows users of all abi
If you ask any Frontend developer - what is the one tool, except the browser and your editor/IDE, that you use the most? My guess is most would say the Dev Tools. The Dev Tools is the equivalent of the handyman’s toolbox. It helps developers to smoke out bugs. It’s useful for testing out different UI & UX. You can use it to elaborate with copy. It can show you what your page looks like in print la
Responsive Designs and CSS Custom Properties: Building a Flexible Grid System Last time, we looked at a few possible approaches for declaring and using CSS custom properties in responsive designs. In this article, we’ll take a closer look at CSS variables and how to use them in reusable components and modules. We will learn how to make our variables optional and set fallback values. As an example,
Dr Piotr Wozniak, February, 1999 (updated) This article will help you overcome one of the greatest difficulties you will face when trying to accelerate learning: formulating knowledge The speed of learning will depend on the way you formulate the material. The same material can be learned many times faster if well formulated! The difference in speed can be stunning! The rules are listed in the ord
What’s this? Browserhacks is an extensive list of browser specific CSS and JavaScript hacks from all over the interwebs. Press the first letter of a browser to jump to the according section, like F for Firefox. How to? Pick the hack you want Copy it into your stylesheet Add the style you want between the braces Enjoy the new styles for the browser you targeted! Reminder! Please keep in mind using
Tables are a design pattern for displaying large amounts of data in rows and columns, and have not yet seemed to fall out of favor, so let’s take a look at how we can create tables on the web in 2019. Tables are a design pattern for displaying large amounts of data in rows and columns, making them efficient for doing comparative analysis on categorical objects. Tables have been used for this purpo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く