Baeldung Weekly Review 16 – Baeldung周评 16

最后修改: 2015年 4月 17日

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

At the very beginning of 2014 I decided to track my reading habits and share the best stuff here, on Baeldung.

在2014年一开始,我就决定追踪我的阅读习惯,并在这里分享最好的东西,在Baeldung

2014 has been quite the year, covering each week with a review. I’ve been doing a lot more reading to make sure I cover and curate stuff that has value and is actually worth reading.

2014年是相当不错的一年,每星期都有一篇评论。我一直在做更多的阅读,以确保我覆盖和策划的东西有价值,并真正值得阅读。

Let me know in the comments if you’re finding my reviews interesting and useful.

请在评论中告诉我,如果你觉得我的评论有趣和有用。

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Spring From the Trenches: Returning Runtime Configuration as JSON

Having the core properties my application uses logged on startup is important – it makes it easy to see the exact layout of the environment and spot potential problems quickly.

在启动时记录我的应用程序所使用的核心属性是很重要的–它使我们很容易看到环境的确切布局并迅速发现潜在的问题。

The simple but powerful mechanism presented in this article makes that straightforward to set up and can easily be extended to whatever family of properties you might use in your application.

本文介绍的简单而强大的机制使其可以直接设置,并且可以很容易地扩展到你在应用中可能使用的任何属性系列。

>> Result Set Mapping: Complex Mappings

Last week this series explored basic mappings – now it takes a deeper dive into more advanced usecases such as mapping a query result to multiple entities.

上周,本系列探讨了基本的映射–现在它将深入探讨更高级的用例,如将一个查询结果映射到多个实体

>> Using Apache Kafka for Integration and Data Processing Pipelines with Spring

A good starting point for both Kafka as well as Spring Integration and Spring XD.

对于Kafka以及Spring Integration和Spring XD来说都是一个很好的起点。

Also worth reading:

也值得一读。

Webinars and presentations:

网络研讨会和演讲。

Time to upgrade:

是时候升级了。

2. Technical

2.技术

>> KISS With Essential Complexity

Complexity in code – definitely worth a read.

代码中的复杂性 – 绝对值得一读。

I like reading pieces by people that are actually developing software for a living – there’s something pragmatic and real about this kind of writing. Yes – you can and should make things better, but don’t expect textbook-simple code in your project.

我喜欢读那些真正以开发软件为生的人写的文章–这种文章有一种务实和真实的感觉。是的–你可以而且应该把事情做得更好,但不要期望在你的项目中出现教科书般的简单代码。

>> Things to consider before jumping to enterprise caching

A word of warning not to enable caching without first understanding what potential data consistency issues you are introducing into your app. There are certainly ways – good ways – to deal with these issues, but it’s important to have a good grasp of what these are first.

需要提醒的是,在没有了解你的应用程序中引入了哪些潜在的数据一致性问题之前,不要启用高速缓存。当然有一些方法–好的方法–来处理这些问题,但重要的是首先要很好地掌握这些问题是什么。

Also worth reading:

也值得一读。

3. Musings

3.思索

>> My Blog: If I Build It, Will They Come?

A very useful read if you’re thinking of starting up a blog, putting your work out there and iterating in public.

如果你正在考虑建立一个博客,把你的工作放在那里,并在公共场合进行迭代,这是一本非常有用的书。

What I would add is that – if you are thinking of starting – do that today, not tomorrow – tomorrow is never.

我想补充的是–如果你正在考虑开始–今天就做,而不是明天–明天是永远不会有的。

4. Comics

4.漫画

And my favorite comics of the week:

还有我本周最喜欢的漫画。

>> Code Quality

>> I guess I don’t really need it

>> Are you trying to kill me?

5. Pick of the Week

5 本周精选

Earlier this year I introduced the “Pick of the Week” section here in my “Weekly Review”. If you’re already on my email list – you got the pick already – hope you enjoyed it.

今年早些时候,我在 “每周回顾 “中推出了 “每周精选 “栏目。如果你已经在我的电子邮件列表中–你已经得到了精选–希望你喜欢它。