<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://powerui.kulestar.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Naming_Conventions</id>
		<title>Naming Conventions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://powerui.kulestar.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Naming_Conventions"/>
		<link rel="alternate" type="text/html" href="https://powerui.kulestar.com/wiki/index.php?title=Naming_Conventions&amp;action=history"/>
		<updated>2026-06-04T08:19:27Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://powerui.kulestar.com/wiki/index.php?title=Naming_Conventions&amp;diff=30&amp;oldid=prev</id>
		<title>151.229.186.156: Created page with &quot;&#039;&#039;What&#039;s with the member names in PowerUI?&#039;&#039;  Member names (methods, fields etc) seem to often randomly alternate between camelCase and PascalCase. It&#039;s particularly apparent...&quot;</title>
		<link rel="alternate" type="text/html" href="https://powerui.kulestar.com/wiki/index.php?title=Naming_Conventions&amp;diff=30&amp;oldid=prev"/>
				<updated>2017-01-13T19:13:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;What&amp;#039;s with the member names in PowerUI?&amp;#039;&amp;#039;  Member names (methods, fields etc) seem to often randomly alternate between camelCase and PascalCase. It&amp;#039;s particularly apparent...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;What&amp;#039;s with the member names in PowerUI?&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Member names (methods, fields etc) seem to often randomly alternate between camelCase and PascalCase. It&amp;#039;s particularly apparent in PowerUI 2. This is because PowerUI has two &amp;#039;layers&amp;#039; of public methods - web and internals.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PowerUI public internals vs. the public web API ==&lt;br /&gt;
&lt;br /&gt;
PowerUI is often very liberal with the &amp;#039;public&amp;#039; keyword because we&amp;#039;d rather not hide functionality for people who really know what they&amp;#039;re doing in order to expose a &amp;quot;web only&amp;quot; API. That would rather ironically go against everything PowerUI exists for - a UI framework based on web standards which is completely open to modifications.&lt;br /&gt;
&lt;br /&gt;
So, the public web API which is typically accessed by Javascript follows the camelCase conventions. The public internals API follows C# conventions of PascalCase. This primarily has the nice benefit of consistency from the web point of view; document.getElementById(&amp;quot;hello&amp;quot;) is perfectly valid in .NET/C# &amp;#039;&amp;#039;and&amp;#039;&amp;#039; Javascript. If you want to convert Javascript to C# to squeeze out as much performance as you can, this consistency is extremely useful!&lt;br /&gt;
&lt;br /&gt;
== Vendor Prefixing ==&lt;br /&gt;
&lt;br /&gt;
PowerUI uses two vendor prefixes:&lt;br /&gt;
&lt;br /&gt;
* -spark-&lt;br /&gt;
Used when adding unique functionality that is likely to collide with web standards&lt;br /&gt;
&lt;br /&gt;
* -moz-&lt;br /&gt;
Used when supporting W3C standards that are a work in progress and are likely found &amp;quot;in the wild&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We&amp;#039;re also considering using -webkit- whenever some webkit specific functionality appears useful. For example, [[Scrollbars|styling scrollbars]] in a consistent way; there&amp;#039;s no standard for it and only webkit allows doing it at all, but styling scrollbars is rather important for UI&amp;#039;s!&lt;/div&gt;</summary>
		<author><name>151.229.186.156</name></author>	</entry>

	</feed>