Reduce development-level

2010-09-07  来源:本站原创  分类:Development  人气:82 

In this development, we use the framework springside3 + zk. This focus on the springside3 use.

ss3 dao layer for a good package, almost no additional ways to write anything, just call the service layer on it. I developed when, for some operations such as query operations based on the two properties separately in the dao to write a method which is called directly in the service layer which, there are differences. My approach is to write a dao method separately, resulting in dao layer changes. Another problem is that the team colleagues for the dao package approach simply does not see, the primary key for the query according to the method also in separate dao write again. Resulting in the latter part of a modified operation will zk, action, service, dao of all changes. Will be a problem when checking in action -> service -> dao layers look down.

Next I was thinking that, dao only provide a generic method, no new method, called the query only in the service layer method in the dao.

Also, in the service, action of some commonly used methods in the package, call the page using "convention is greater than the configuration" approach to reduce the amount of coding. It means reducing the chance of mistakes.

Of course, for individual operations or to be treated differently, not across the board!

Well before development of the team technical training, training for ss3 little one, lazy team members to avoid problems.

相关文章
  • Reduce the level of development 2010-09-07

    In this development, we use the framework is springside3 + zk. Here focus on the springside3 use. ss3 on the dao layer had a very good package, and almost no additional ways to write anything, just call the service layer on it. When I was developing

  • Improve the development level of the top ten tips 2009-05-21

    】 【Turn in today 's IT job market, it was about someone happy. Someone on the current job and very satisfied with their salaries, it was currently facing off, or have been laid off ... ... You are probably familiar with the company only a master key

  • How to remove or reduce the level of training white silk blank spot stains 2010-02-16

    Keyword: After stain, stains silk plant Pi Chou Wei is the common flaw is in the preparation, manufacturing production process caused by the contamination. The reasons are varied, each has different degree of contamination in the refining process can

  • Agile Development 2009-08-14

    Agile development (agile development) is a people-centered, iterative, step-by-step development methodology. In agile development, software projects have been cut to build a number of sub-divided into various sub-project the results have been tested

  • Development of RESTful services using the Struts 2 2010-03-29

    From V2.1 Start, Struts 2 plug-ins began offering Convention, which allows under the "convention" to search for Action, and the management of Action and Result of the mapping. In addition, Struts 2.1 also provides a REST plug-in, so that Struts

  • j2ee Rapid Development Platform - Code Generator - Workflow Platform 2010-06-27

    Rapid J2EE application development platform to help you zero risk, zero-cost rapid development system chosen DMX, select the successful Skyline Software is a leading government coordination office applications solutions provider, focused JBPM workflo

  • (Turn) four main development framework for PHP 2010-08-11

    Source: http://www.phpchina.com/index.php?action-viewnews-itemid-35342 Zuijinjiandan Deshiyongliao currently in the country with the more mainstream Guowai PHP framework of Jige (not including domestic frame), roughly on these frameworks have Ge intu

  • Discussion: R & D team in the most appropriate development and testing than what is? 2010-12-30

    On Saturday Taobao and Alibaba B2B co-sponsored, InfoQ exclusive community-supported test the second Internet Exchange Conference , representatives from Google, Baidu, Netease, Tencent, Taobao, Alibaba, FreeWheel each other to share the company's tes

  • [Translation] Cairngorm micro-architecture development using Flex RIA - Part II: maintaining client state 2011-01-12

    Developing Flex RIAs with Cairngorm microarchitecture - Part 2: Keeping state on the client (See http://www.adobe.com/devnet/flex/articles/cairngorm_pt2.html) Translation] [Cairngorm micro-architecture development using Flex RIA - Part II: maintainin

  • Plug in the enterprise software development team invisible wings 2010-05-18

    Today's social development situation of the enterprise is dependent on software systems is growing, our business ten years ago most of the software used in just the financial system, warehouse management system, now Invoicing, ERP, OA, CRM, logistics

  • Founder platform (enterprise application development platform) 2011-03-03

    Founder Founder platform knowledge platform is an enterprise-class rapid application development platform. With it, enterprises and developers can be very convenient, fast, high-quality development of complex business systems, including OA, CRM, EAI,

  • WEB development of high-performance 2 2011-08-17

    Use maven plugin, and the development of the ant script. (Take advantage of the YUI Compressor open source code) Maven plug-in can be used maven-javascript-plugin (compressible JS / CSS) 4.1.5 Servlet interceptor to intercept unwanted weight loss and

  • Rails Web development framework in research and application 2010-03-04

    Thesis title: Rails Web development framework in research and application The Research and Application of Rails Framework in Web Development As Web applications become increasingly widespread and continuous development of Web development techniques,

  • Struts + Spring + Hibernate development to join the real kung fu 2010-06-12

    The context of occupational demand. Book in-depth analysis of the current language of the mainstream Java development skills needs, and as the premise for the book content organization. * For application development into the behavior of target. This

  • J2EE application development should follow the following principles 2010-06-24

    J2EE, for development of mission-critical enterprise application integration platform, a set of norms, norms and more extensive content to develop J2EE applications to bring a lot of "trouble." For example, the content of the RDBMS for the reali

  • MeeGo development direction and strategy 2010-07-09

    Analysis: Luo Cuiqin, industry analysis senior consultant, and track domestic and international long-term concern electronics, communications, computing and Trends. Aspect in IDF2010 many, the Internet computing (Continuum of Computing) is an importa

  • rapid web development platform I see 2010-08-11

    the evolution of web development platform programming <br /> from the beginning, they inevitably and methods, classes, interfaces, and the like dealing with. Over time, nature will have to sum up, the resulting a development platform. Now among Chin

  • Agile Development Summary 2010-09-18

    index: 1, What is agile development 2, the benefits of agile development 3, some advocates of agile development 4, agile development and the difference between waterfall First, what is agile development? We do this in the software industry, to meet t

  • 211SOFT online development platform features 2010-09-19

    1. Based on the MVC framework J2EE (JAVA) Online Development Platform JAVA is an enterprise development language, with a large number of developer support, cross-platform, scalable, high maintainability. 2. Based on PAAS (Platform As A Service: devel

  • Design and development of JAX-WS 2.0 Web services 2010-09-19

    Transfer from https: / / www6.software.ibm.com/developerworks/cn/education/webservices/ws-jax / About JAX-WS Why use JAX-WS? JAX-WS is used to simplify the structure using the Java Web services and Web service client technologies work. The technology