rubygems_本周在我们的雷达上:RubyGems和爱Angular的原因

rubygems

Welcome to On Our Radar, a weekly round-up of news, trends and other cool stuff from the world of web development.

欢迎来到On Our Ra​​dar,每周综述来自Web开发领域的新闻,趋势和其他有趣的内容。

Microsoft was in the news again this week, as it’s CEO suffered a bout of foot-in-mouth during an on-stage conversation at the Celebration of Women in Computing conference (for which he subsequently apologized). Pundits also asked if Windows 10 will address the operating system’s biggest weakness, whilst Project Spark came out of beta and we learned that Microsoft has taught Cortana to speak Klingon. buy’ ngop

微软本周再次成为新闻焦点,因为它的首席执行官在“计算机中的女性庆祝”会议上的台下谈话中口口相传 ( 后来他为此道歉 )。 权威人士还询问Windows 10是否可以解决操作系统最大的弱点 ,而Project Spark 尚未 通过Beta测试 ,我们了解到微软已经教会Cortana讲Klingon 。 买ngop

Elsewhere, Google officially unveiled its newest Nexus tablet device in the form of the Nexus 9 — an 8.9-inch device which will arrive running Android 5.0 Lollipop. Too much Google Glass landed one man in treatment for Internet addiction and it was revealed that Google’s ‘biggest search competitor’ is Amazon (somewhere, a Bing executive is crying).

在其他地方, Google正式推出了其最新的Nexus平板电脑设备 Nexus 9,这是一款8.9英寸的设备,将在运行Android 5.0 Lollipop的情况下上市。 太多的谷歌眼镜让一名男子因互联网成瘾而接受治疗 ,据透露, 谷歌的“最大搜索竞争对手”是亚马逊 (某处,必应高管在哭)。

Drones were also in the news as the Dronecode project was launched by the Linux Foundation. Drone racing seems to have become a thing and reports came in of Drones taking selfies to new heights (remember: a selfie taken by a drone is a dronie). One site asked “What would you do if you discovered a drone hovering over your property?” As shooting them down is very probably illegal, your garden hose might be your best bet here …

随着Linux基金会发起Dronecode项目 ,无人机也成为新闻。 无人机竞赛似乎已经成为一件事,并且有报道称无人机将自拍照提升到了新的高度 (请记住: 无人机拍摄的自拍照是无人机​​)。 一个站点问:“ 如果发现一架无人机悬停在房屋上,您将怎么办? ”因为将它们击落很可能是违法的,所以您的花园水带可能是您最好的选择……

Ruby (RubyGems)

rubygems_本周在我们的雷达上:RubyGems和爱Angular的原因_第1张图片

Source: PSD100.com

资料来源:PSD100.com

RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a “gem”).

RubyGems是Ruby编程语言的软件包管理器,它提供了用于分发Ruby程序和库的标准格式(以一种称为“ gem”的自包含格式)。

If you’ve ever wanted to create your own gem from scratch, this two part tutorial will walk you through the process and give you a bunch of handy tips along the way.

如果您曾经想从头开始创建自己的gem,那么这个由两 部分组成的教程将引导您完成整个过程,并在此过程中为您提供许多实用的技巧。

Recently, the Ruby Rogues interviewed Eric Hodel, one of the RubyGems developers.

最近, Ruby Rogues采访了RubyGems开发人员之一Eric Hodel 。

Justin Weiss is a developer who has been digging into Ruby gems. Firstly, he explained how gems work, before examining how Rails (a gem itself) handles gems.

贾斯汀·韦斯(Justin Weiss)是一位致力于Ruby宝石的开发人员。 首先,他解释了宝石的工作原理 ,然后研究了Rails(宝石本身)如何处理宝石 。

Here’s a fantastic list of gems for Ruby on Rails code optimization and clean up, as well as a gem to facilitate interacting with the Hacker News API.

这是用于Ruby on Rails代码优化和清理的绝妙清单,以及促进与Hacker News API进行交互的宝石 。

In other Ruby news, Sandi Metz expounded on the shape of code, whilst it was put forward that object-oriented programming is an expensive disaster which must end.

在其他Ruby新闻中, Sandi Metz阐述了代码的形状 ,同时有人提出, 面向对象的编程是一场代价高昂的灾难,必须结束 。

框架角 (Framework Corner)

This week saw the release of the Yii 2 framework (a high performance, component-based PHP framework for rapidly developing modern Web applications). It’s easy to lose track of the number of frameworks out there, so Matthew Beaumont took a look at seven reasons to choose Yii 2 over its competitors.

本周发布了Yii 2框架 (一种用于快速开发现代Web应用程序的高性能,基于组件PHP框架)。 很容易忘记现有的框架数量,因此Matthew Beaumont考察了选择Yii 2胜过竞争对手的七个理由 。

Staying with PHP frameworks, here’s the first article in a promising-looking series about developing Laravel applications using a behavior-driven development (BDD) approach.

与PHP框架保持一致,这是有关使用行为驱动开发(BDD)方法开发Laravel应用程序的前瞻性系列文章中的第一篇。

Sandeep Panda shared five reasons he loves AngularJS (and why you should, too). If you’re already sold on Angular and can’t wait to get your hands dirty, here’s a very comprehensive (10,000 word) tutorial courtesy of Todd Motto. Or, if you’re somewhat more experienced, be sure to avoid the top ten mistakes AngularJS developers make.

Sandeep Panda分享了他喜欢AngularJS的五个原因 (以及为什么也应该这么做 )。 如果您已经在Angular上出售了商品,迫不及待地想弄脏自己,这里有一个非常全面的教程(10,000字),由Todd Motto提供。 或者,如果您更有经验,请确保避免AngularJS开发人员犯的十大错误 。

This next article shows Windows users some love and explains how to install Node.js on Windows. Once you’ve done that, you’ll be all set to develop your very own location-based Pokémon game.

下一篇文章向Windows用户展示了一些爱,并说明了如何在Windows上安装Node.js。 完成此操作后,您将准备好开发自己的基于位置的神奇宝贝游戏 。

Finally, remember that frameworks aren’t always the answer, as one developer explains why they choose not to use Bootstrap.

最后,请记住,框架并不总是答案,因为一位开发人员解释了为什么他们选择不使用Bootstrap 。

一周流行词:渐进增强 (Buzzword of the Week: Progressive Enhancement)

Progressive enhancement is a practice employed when constructing a website, whereby the designer starts with the content, then adds layers of enhancements to it (using, for example, JavaScript or CSS) . This results in the content being available to all, regardless of the capabilities of the device upon which it is viewed.

渐进式增强是在构建网站时采用的一种做法,设计人员从该内容开始,然后向其添加增强层(例如,使用JavaScript或CSS)。 这导致内容可供所有人使用,无论在其上查看设备的功能如何。

Progressive enhancement really matters, so I was delighted to come across a new series explaining the theory behind it, as well as how to put these ideas into practice.

渐进增强确实很重要,因此我很高兴看到一个新系列,解释了其背后的理论以及如何将这些想法付诸实践 。

There are many sites out there which stop working as soon as JavaScript is disabled. This needn’t always be the case. Here’s how you can create progressively enhanced UI elements using JavaScript.

一旦禁用JavaScript,许多站点就会停止工作。 并非总是如此。 这是使用JavaScript创建逐渐增强的UI元素的方法 。

A while back, Craig Buckler suggested that offline first might be the next progressive enhancement technique. Here’s a more modern piece expanding on why that continues to be a good idea.

不久前,克雷格·巴克勒(Craig Buckler)提出, 离线优先可能是下一个渐进增强技术 。 这是一个更现代的文章,阐述了为什么这仍然是一个好主意 。

This is one designer weighing up the pros and cons of progressive enhancement. The article contains some great analogies and lots of food for thought.

这是一位设计师在权衡渐进增强的利弊 。 这篇文章包含了一些很棒的类比和很多值得深思的地方。

In a similar vein, this article asks “Adaptive design: what is it and why should I be using it?“

同样,本文提出了“ 自适应设计:什么是自适应设计?为什么要使用它? “

走向移动 (Going Mobile)

In the world of mobile apps this week, it was announced that Reddit has purchased the Alien Blue app and hired the developer who created it.

在本周的移动应用程序世界中,宣布Reddit购买了Alien Blue应用程序并雇用了创建它的开发人员。

It seems that mobile developers are in great demand. But if you want to write mobile apps, where do you start?

似乎移动开发人员的需求量很大。 但是, 如果您想编写移动应用程序,那么从哪里开始呢?

Well, SitePoint to the rescue! Here’s a beginners tutorial on creating a ToDo app for Android. And here’s a primer on creating apps for FireFox OS.

好吧,SitePoint进行救援! 这是有关为Android创建ToDo应用程序的初学者教程 。 这是为FireFox OS创建应用程序的入门 。

Is iOS more your thing? Here’s how to get started with Metal, a framework introduced in iOS 8 that supports GPU accelerated 3D graphics rendering and data parallel computation workloads. Phew!

iOS更适合您吗? 这是Metal (iOS 8中引入的框架)的入门方法,Metal支持GPU加速的3D图形渲染和数据并行计算工作负载。 !

When designing mobile first, navigation takes a back seat to content. This article looks at using wayfinding to restore the balance.

在首先设计移动设备时,导航在内容方面处于次要地位。 本文着眼于使用寻路来恢复平衡 。

And finally, here is an in-depth look at HealthKit (a new tool in iOS8 that allows app developers to integrate the data they collect with other apps and with the Apple Health app) — all from the perspective of a swimming app.

最后,这是从游泳应用程序的角度深入研究HealthKit ( iOS8中的新工具,它使应用程序开发人员可以将他们收集的数据与其他应用程序和Apple Health应用程序集成在一起)。

So that’s everything for this week. Thanks for joining us.

这就是本周的一切。 感谢您加入我们。

I’ll leave you with a report that insects may well be the future of food (yeurgh!) and an article in which Web inventor Sir Tim Berners-Lee shares his thoughts on the future of farming, work and computing. Oh, and talking of Sir Tim, if you ever thought your job title slightly understates your actual role, check this out.

我将给您留下报告,说昆虫很可能是食物的未来 (真是太好了!),网络发明家蒂姆·伯纳斯·李爵士(Tim Berners-Lee爵士)分享了他对农业,工作和计算机的未来的看法。 哦,谈到提姆爵士,如果您曾经以为自己的职位稍微低估了您的实际角色, 请查看此内容 。

So which links caught your attention? Have you written a Ruby gem you’d like to share? Do you just love Yii 2? Is object-oriented programming a disaster? Do you practice progressive enhancement, or (like Tom Dale) do you think it is long dead? Either way, we would love to hear your thoughts.

那么哪些链接引起了您的注意? 您是否编写了想要共享的Ruby gem? 你只是喜欢Yii 2吗? 面向对象编程是一场灾难吗? 您练习渐进增强,还是(像汤姆·戴尔一样)您认为它已经死了吗? 无论哪种方式,我们都希望听到您的想法。

Also, if you have any problems implementing anything covered here, or just want to discuss it some more, SitePoint’s forums are a great place to visit (you can sign in with your Google, FaceBook, Twitter, GitHub or Yahoo account).

此外,如果您在执行此处介绍的内容时遇到任何问题,或者只是想进一步讨论, SitePoint的论坛都是一个不错的访问场所(您可以使用Google,FaceBook,Twitter,GitHub或Yahoo帐户登录)。

翻译自: https://www.sitepoint.com/radar-week-rubygems-reasons-love-angular/

rubygems

你可能感兴趣的:(java,编程语言,python,人工智能,微软)