blob: 49d4528733150fe739fabd044ed0fd664fa04ea1 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<!-- VERSION rmc:7.1.0 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!-- START NON-TRANSLATABLE -->
<title>\openup_basic\guidances\concepts\refactoring.xmi</title>
</head>
<!-- WARNING: do not modify the generated comments in this file below this line. They are used as markers for the import process. -->
<body>
Element Name: refactoring.xmi<br/><br/>
<!-- END NON-TRANSLATABLE -->
<br/><br/><br/>
<!-- START NON-TRANSLATABLE -->
Attribute: presentationName<br/><br/>
<!-- END NON-TRANSLATABLE -->
<!-- START:presentationName,_Poc7IPDzEdqYgerqi84oCA CRC: 3501494639 -->Refactoring<!-- END:presentationName,_Poc7IPDzEdqYgerqi84oCA -->
<br/><br/><br/>
<!-- START NON-TRANSLATABLE -->
Attribute: briefDescription<br/><br/>
<!-- END NON-TRANSLATABLE -->
<!-- START:briefDescription,_Poc7IPDzEdqYgerqi84oCA CRC: 1996825158 -->This concept explains ways of improving the design of existing code in a way that does not alter its external behavior.<!-- END:briefDescription,_Poc7IPDzEdqYgerqi84oCA -->
<br/><br/><br/>
<!-- START NON-TRANSLATABLE -->
Attribute: mainDescription<br/><br/>
<!-- END NON-TRANSLATABLE -->
<!-- START:mainDescription,-fj_9xjbrpaYNSETyCz5yJg CRC: 3479022165 --><p>
Refactoring is a disciplined way to restructure code&nbsp;when small changes are made to&nbsp;the code to improve its
design.&nbsp; An important aspect of a refactoring is that it improves the design while not changing the semantics
of&nbsp;the design; a refactoring neither adds nor removes functionality.
</p>
<p>
Refactoring enables you to evolve&nbsp;the code slowly over time, to take an iterative and incremental approach to
implementation.
</p>
<p>
These are the types of refactoring:
</p>
<ol>
<li>
Code refactoring.&nbsp; Often referred to simply as refactoring, this is the refactoring of programming source
code.&nbsp; Examples of code refactorings include Rename Method, Encapsulate Field, Extract Class, Introduce
Assertion, and Pushdown Method.
</li>
<li>
Database refactoring.&nbsp; A database refactoring is a simple change to a database schema that improves its design
while retaining both its behavioral and informational semantics.&nbsp; Examples of database refactorings include
Rename Column, Split Table, Move Method to Database, Replace LOB with Table, Introduce Column Constraint, and Use
Official Data Source.
</li>
<li>
User interface (UI) refactoring.&nbsp; A UI refactoring is a simple change to the UI which retains its
semantics.&nbsp; Examples of UI refactorings include Align Entry Fields, Apply Common Button Size, Apply Common
Font, Indicate Format, Reword in Active Voice, and Increase Color Contrast.
</li>
</ol>
<p>
These are suggested resources:
</p>
<ul>
<li>
<a href="http://www.refactoring.com" target="_blank" >http://www.refactoring.com</a>
</li>
<li>
<a href="http://www.agiledata.org/essays/databaseRefactoring.html" >http://www.agiledata.org/essays/databaseRefactoring.html</a>
</li>
</ul><!-- END:mainDescription,-fj_9xjbrpaYNSETyCz5yJg -->
</body>
</html>