LINQ technology, EF technology are out quite a long time, software developers, software whether the company is also necessary to have their own code generators? ...

   There was a time also doubt yourself, whether it is necessary to continue to maintain the code generator? Because Microsoft's LINQ technology, EF technology are out, and began to more and more data, the code generator function is increasingly being replaced by these new technologies, whether it is necessary to continue to maintain the code generator? This year's three things that give some inspiration, increased awareness of the height of the code generator.

 

   1: In some countries, ministries and development projects, need to use the database is Oracle, and data necessary to control the tens of millions of records, they do not SQLServer database, LINQ technology, EF technology of no use, should also be temporarily unable to use was so skilled, just remember to SQLServer database support is very good.

 

   2: In the development of a bank's cash management system, the database needs to use the DB2, also explicitly not use SQLServer database, LINQ technology, EF technology of no use, if I am supporting the foundation program is dependent on these technologies, it is estimated those functions require the business to achieve re-written again, it is a very terrible thing, but those tests basic components, sound, stable and all-consuming a few years, not days can be frustrating to things on DB2.

 

   3: A few months ago, to have 3--4 years do Japanese counterparts recommended outsourcing development code generator usage, this friend is also doing development work in Beijing with C # .NET, recently he also used the universal rights management system the code generator batch, cool feel with them, do not have to write a lot of code, and save old things and returned to her friends in the promotion, he felt so improved a bit after a lot of duplication of code do not have to manually write , you can concentrate on the business reality.

 

   There are also some own feelings, we do projects like professional development, can not locate a variety of applications developed on SQLServer only, LINQ technology, EF technology has many advantages, it will be cool with, but there are some basic, may reuse of components, these technologies can not completely rely on the need to consider the full versatility, compatibility. Development of a business nature can use these new technologies, but also support the use of these new technologies to develop, maintain future Ye Hao, also some of the more standardized, also in line with technology trends.

  

   After a few more things, more and more clear to me the values ​​of the code generator, control can have its own code generators still necessary, after all, we encounter the development of business applications in a variety of scenarios, possible is SQLServer, it may be Oracle, and DB2 can be, and sometimes still MYSQL database, it is impossible for each set of systems are developed to series matching components, it is simply no energy to maintain.

 

   On the battlefield unarmed good? Bring light machine gun on the battlefield or good? Code generator is. .

 

  

 

Reproduced in: https: //my.oschina.net/iwenr/blog/227835

Guess you like

Origin blog.csdn.net/weixin_33757609/article/details/91674898