- PostgreSQL Server Programming(Second Edition)
- Usama Dar Hannu Krosing Jim Mlodgenski Kirk Roybal
- 440字
- 2021-07-23 20:36:47
Chapter 2. Server Programming Environments
You've had a chance to get acquainted with the general idea of using PostgreSQL, but now we are going to answer the question of why anyone will choose PostgreSQL as a development platform. As much as I'd like to believe that it's an easy decision for everyone, it's not.
For starters, let's get rid of the optimistic idea that you choose a database platform for technical reasons. Sure, we all like to think that we are objective, and we base our decisions on a preponderance of the technical evidence. This preponderance of evidence then indicates which features are available and relevant to our application. We will then proceed to make a weighted choice in favor of the most advantageous platform, and use a balance of the evidences to create workarounds and alternatives where our choice falls short. The fact is that we don't really understand all the requirements of the application until we are halfway through the development cycle. Here are some reasons why:
- We don't know how the application will evolve over time. Many start-ups pivot from their initial idea as the market tells them to change.
- We don't know how many users there will really be until we have some registrations and can begin to measure the curve.
- We don't realize how important a particular feature can be until we get user feedback. The truth is, that we don't really know much about the long-term needs of the application until we're writing version 2 or maybe even version 3.
That is, unless you're one of the fortunate few who has a Research and Development department that writes the alpha version, throws it out the window, and then asks you to write the next version based on the lessons learned. Even then, you really don't know what the usage patterns are going to be once the application is deployed.
What we generally see in the PostgreSQL community—when new users start asking questions—is people not looking to make a decision, but rather people who have already made a decision. In most cases, they are looking for technical justification for an existing plan of action. The decision has already been passed. What I am going to write about in this chapter is not a TPC benchmark, nor is it about the relative merits of PostgreSQL functions versus stored procedures. Frankly, nobody really cares about these things until they have already made a choice and want to justify it.
This chapter contains the guide that I wish someone had written for me when I chose to use PostgreSQL back in 1998.
- 深度實踐OpenStack:基于Python的OpenStack組件開發
- 微信公眾平臺與小程序開發:從零搭建整套系統
- 程序員面試白皮書
- Android和PHP開發最佳實踐(第2版)
- Dynamics 365 Application Development
- Mastering Kotlin
- Cassandra Design Patterns(Second Edition)
- 云計算通俗講義(第3版)
- Nginx Essentials
- Python數據挖掘與機器學習實戰
- Mastering JBoss Enterprise Application Platform 7
- Mastering Xamarin.Forms(Second Edition)
- Mastering Akka
- Clojure for Java Developers
- 軟件體系結構