The Baeldung Weekly Review 30 – Baeldung周报》 30

最后修改: 2014年 8月 1日

中文/混合/英文(键盘快捷键:t)

At the very beginning of 2014 I decided to start better documenting my reading habits and sharing them here with all of you.

在2014年年初,我决定开始更好地记录我的阅读习惯,并在这里与你们所有人分享

The point is two fold – by curating and documenting, my reading has become more purposeful and diverse. Also – I believe that curation of good content brings a lot of value, helps people explore and allows the best stuff to raise to the top.

这有两层意思–通过策划和记录,我的阅读变得更有目的性和多样化。另外–我相信对好内容的策划会带来很多价值,帮助人们探索,并让最好的东西提升到顶端。

Hopefully you’ll enjoy these as we move in the latter half of 2014.

希望在我们进入2014年下半年时,你会喜欢这些。

Here we go…

我们来了……

1. Java and Spring

1.Java和Spring

>> Spring Framework 4.1 — Spring MVC Improvements

Spring MVC continues to grow and move forward with more flexibility, tighter integration with Jackson, better testing support and a host of other improvements. It’s going to be cool using these in less than a month.

Spring MVC继续发展,并以更大的灵活性、与Jackson更紧密的集成、更好的测试支持和其他一系列改进向前发展。在不到一个月的时间里,使用这些东西会很爽。

>> Writing Tests for Data Access Code – Don’t Forget the Database

A solid followup to the testing series – this one goes over best practices for writing persistence enabled tests. Even if you’ve been doing that for years, there are still some useful takeaways in here.

这是测试系列的一个坚实的后续行动–本篇介绍了编写持久性测试的最佳实践。即使你已经做了很多年了,这里仍然有一些有用的收获。

>> Spring 4.1 and Java 8: java.util.Optional as a @RequestParam, @RequestHeader and @MatrixVariable in Spring MVC

A quick and to the point look at how we can now use Optional within spring MVC 4.1. Good stuff

一个快速而有意义的观点是,我们现在可以在spring MVC 4.1中使用Optional。好东西

>> Default Methods: Java 8’s Unsung Heros

A practical look at the newly introduced default methods in Java 8; this addition really does pack a lot of power in terms of how we can now augment older code with useful new logic.

对Java 8中新引入的默认方法的实际考察;就我们现在如何用有用的新逻辑来增强旧代码而言,这一新增内容确实具有很大的力量。

>> The 10 Most Annoying Things Coming Back to Java After Some Days of Scala

Interesting perspective on getting back to Java after doing Scala.

在做完Scala之后重新回到Java,这个观点很有意思。

2. Technical

2.技术

>> AWS Speed Test: What are the Fastest EC2 and S3 Regions?

The way of the land for EC2 and S3 speed – it’s a super useful read if your working on the Amazon AWS infrastructure (and so many of us are). This goes right to bookmark for future reference.

如果你在亚马逊的AWS基础设施上工作(我们中的许多人都是这样),这是一本超级有用的读物,它是EC2和S3速度的方法。这将成为书签,供今后参考。

>> ComposedRegex

An oldie but a goodie – regex should not be a big block of text you have to parse visually by counting parenthesis and such. It should be – like any other piece of code – as readable as possible.

一个老古董,但也是个好东西–regex不应该是一大块文本,你必须通过计算小括号之类的来进行视觉解析。它应该像其他的代码一样,尽可能的可读。

>> Incorporate domain knowledge into predictive model

Good intro on how to approach a new dataset and extract useful and actionable insight out of the raw data.

关于如何接近一个新的数据集并从原始数据中提取有用和可操作的见解的良好介绍。

>> Chess TDD 11: Tying Up Loose Ends

The last mile of a supremely useful screencast series on TDD. Nuff said.

关于TDD的极其有用的screencast系列的最后一英里。不多说了。

3. Musings

3.思索

>> The Biggest Gamble of Your Career

A good framework on thinking, positioning, risk management and, ultimately – growth. It’s also a fantastic reminder to constantly step out of your comfort zone. Something I’ve been trying (but only sometimes succeeding) to do more and more of. The tricky thing about your comfort zone is that it keeps on shifting. What was out of my comfort zone 3 months ago is wholly inside of it now, which means I need to step outside again.

这是一个关于思维、定位、风险管理以及最终增长的良好框架。这也是对不断走出你的舒适区的奇妙提醒。我一直在尝试(但有时会成功)越来越多地这样做。关于你的舒适区的棘手之处在于,它一直在变化。3个月前还在我的舒适区之外的事情,现在已经完全进入了舒适区,这意味着我需要再次走出舒适区。

>> Using BDD as a Sensemaking Technique

In depth on BDD and complexity of analysts. Go have a read – a lot of this will look familiar, but the clear delimitation is nevertheless supremely useful.

深入探讨了BDD和分析师的复杂性。去读一读吧–其中很多内容看起来很熟悉,但清晰的划分还是非常有用的。