<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://atk-framework.com/index.php?action=history&amp;feed=atom&amp;title=AtkNode</id>
	<title>AtkNode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://atk-framework.com/index.php?action=history&amp;feed=atom&amp;title=AtkNode"/>
	<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=AtkNode&amp;action=history"/>
	<updated>2026-09-20T18:27:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://atk-framework.com/index.php?title=AtkNode&amp;diff=18126&amp;oldid=prev</id>
		<title>bahtiar: /* Relevant howto&#039;s */</title>
		<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=AtkNode&amp;diff=18126&amp;oldid=prev"/>
		<updated>2010-01-10T08:43:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Relevant howto&amp;#039;s&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:43, 10 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Ordering attributes within a node]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Ordering attributes within a node]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Displaying content on left, right and top section of node view/edit]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Displaying content on left, right and top section of node view/edit]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Relevant documentation ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Hollywood Calls]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Criticism ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Criticism ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One of the critiques of the current implementation of the atkNode is that business logic (AF_OBLIGATORY, overrides etc.) and view parameters (AF_SEARCHABLE, AF_HIDE_EDIT etc.) are mixed. The rationale behind this is that a node not only defines the data structure and business logic, but also the way it should be handled in a CRUD environment. Since this is ATK&amp;#039;s focus, this is relatively OK. There are some thoughts about [[Splitting view and business logic]] even more, but the disadvantage would be that in many cases, this would lead to extra code, which would be in conflict with the [[Code minimization philosophy]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One of the critiques of the current implementation of the atkNode is that business logic (AF_OBLIGATORY, overrides etc.) and view parameters (AF_SEARCHABLE, AF_HIDE_EDIT etc.) are mixed. The rationale behind this is that a node not only defines the data structure and business logic, but also the way it should be handled in a CRUD environment. Since this is ATK&amp;#039;s focus, this is relatively OK. There are some thoughts about [[Splitting view and business logic]] even more, but the disadvantage would be that in many cases, this would lead to extra code, which would be in conflict with the [[Code minimization philosophy]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>bahtiar</name></author>
	</entry>
	<entry>
		<id>https://atk-framework.com/index.php?title=AtkNode&amp;diff=14271&amp;oldid=prev</id>
		<title>bahtiar: New page: {{class|atk}}  == Description ==  The atkNode class is the single most important class in the ATK framework. A &#039;node&#039; can be considered an &#039;entity&#039; or a representation of a database table....</title>
		<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=AtkNode&amp;diff=14271&amp;oldid=prev"/>
		<updated>2008-09-01T23:02:47Z</updated>

		<summary type="html">&lt;p&gt;New page: {{class|atk}}  == Description ==  The atkNode class is the single most important class in the ATK framework. A &amp;#039;node&amp;#039; can be considered an &amp;#039;entity&amp;#039; or a representation of a database table....&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{class|atk}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
The atkNode class is the single most important class in the ATK framework. A &amp;#039;node&amp;#039; can be considered an &amp;#039;entity&amp;#039; or a representation of a database table. Developing applications in ATK means developing nodes, which are classes that are derived from atkNode. &lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
Here is an example of a typical node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
  class employee extends atkNode&lt;br /&gt;
  {&lt;br /&gt;
    function __construct()&lt;br /&gt;
    {&lt;br /&gt;
      parent::__construct(&amp;quot;employee&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
      $this-&amp;gt;add(new atkAttribute(&amp;quot;id&amp;quot;, AF_AUTOKEY));&lt;br /&gt;
      $this-&amp;gt;add(new atkAttribute(&amp;quot;name&amp;quot;, AF_SEARCHABLE));&lt;br /&gt;
      &lt;br /&gt;
      $this-&amp;gt;setTable(&amp;quot;employee&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Relevant howto&amp;#039;s ==&lt;br /&gt;
&lt;br /&gt;
* [[Custom (record) actions]]&lt;br /&gt;
* [[Using modifiers]]&lt;br /&gt;
* [[Including modifiers when extending nodes]]&lt;br /&gt;
* [[Use a workflow on a node]]&lt;br /&gt;
* [[Increase performance on nodes with millions of records]]&lt;br /&gt;
* [[Ordering attributes within a node]]&lt;br /&gt;
* [[Displaying content on left, right and top section of node view/edit]]&lt;br /&gt;
&lt;br /&gt;
== Criticism ==&lt;br /&gt;
&lt;br /&gt;
One of the critiques of the current implementation of the atkNode is that business logic (AF_OBLIGATORY, overrides etc.) and view parameters (AF_SEARCHABLE, AF_HIDE_EDIT etc.) are mixed. The rationale behind this is that a node not only defines the data structure and business logic, but also the way it should be handled in a CRUD environment. Since this is ATK&amp;#039;s focus, this is relatively OK. There are some thoughts about [[Splitting view and business logic]] even more, but the disadvantage would be that in many cases, this would lead to extra code, which would be in conflict with the [[Code minimization philosophy]].&lt;/div&gt;</summary>
		<author><name>bahtiar</name></author>
	</entry>
</feed>