<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>~electronic caffeine~ &#187; syntax</title>
	<atom:link href="http://glassmantissa.wordpress.com/category/syntax/feed/" rel="self" type="application/rss+xml" />
	<link>http://glassmantissa.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 10 Aug 2007 19:01:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='glassmantissa.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/7df7db5038f6bfd40b1ea044fa627859?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>~electronic caffeine~ &#187; syntax</title>
		<link>http://glassmantissa.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://glassmantissa.wordpress.com/osd.xml" title="~electronic caffeine~" />
		<item>
		<title>objects and web scripting</title>
		<link>http://glassmantissa.wordpress.com/2007/08/10/objects-and-web-scripting/</link>
		<comments>http://glassmantissa.wordpress.com/2007/08/10/objects-and-web-scripting/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 19:01:20 +0000</pubDate>
		<dc:creator>dots</dc:creator>
				<category><![CDATA[encapsulation]]></category>
		<category><![CDATA[methods]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[object-oriented programming]]></category>
		<category><![CDATA[programming languages]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[theory]]></category>
		<category><![CDATA[web programming]]></category>

		<guid isPermaLink="false">http://glassmantissa.wordpress.com/2007/08/10/objects-and-web-scripting/</guid>
		<description><![CDATA[scripting typically involves creating objects in order to execute certain tasks to achieve a desired outcome. and so &#8230; how do i create an object? it sounds silly, really. but, honest &#8230; its abstract &#8230; a tough concept around which to wrap one&#8217;s head. its the core of modern-day programming, though. so i had better [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassmantissa.wordpress.com&blog=1256866&post=22&subd=glassmantissa&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>scripting typically involves creating objects in order to execute certain tasks to achieve a desired outcome. and so &#8230; how do i create an object? it sounds silly, really. but, honest &#8230; its abstract &#8230; a tough concept around which to wrap one&#8217;s head. its the core of modern-day programming, though. so i had better start getting it.</p>
<p>object creation involves 2 steps.</p>
<p>(1). <strong>create an object definition</strong> ~ the code containing methods and properties of the object. methods ~ directions for making the object. properties  ~ characteristics that typify the object.</p>
<blockquote><p><em>create a constructor function</em> ~ a named group of 1 or more programming statements that can create new objects. note &#8211; by convention, capitalize the first letter of a constructor function.</p></blockquote>
<blockquote>
<blockquote><p><u>add properties</u> ~ identified by object name &#8220;dot&#8221; property name. refer to the newly created, not yet instantiated objects as &#8220;this&#8221;</p>
<h6><font color="#ffff00">objectName.propertyName = value</font></h6>
</blockquote>
<blockquote><p><u>add methods</u> ~ (methods =  functions called from within the method.) name the method, assign a function. use action words when naming methods.  identified using the syntax below. (argument = input to subroutine &#8230; used to assign a value to a property of the new object)</p>
<h6><font><font color="#ffff00">objectName.methodName(arguement)</font></font></h6>
</blockquote>
</blockquote>
<p>(2) <strong>instantiation</strong> ~ create an  instance of the newly defined object. specify a unique name for the new object. assign the object to the recently created object definition using the &#8220;new&#8221; keyword.</p>
<p><em>steps in object instantion</em> ~ variable assigned a value ~ variable value passed as a parameter (parameters act as local copies of the argument) to the new object ~ parameter used to assign variable value to an object property ~ object property used by the object&#8217;s show method ~ show calls the object&#8217;s display method, which writs to the browser.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassmantissa.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassmantissa.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassmantissa.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassmantissa.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassmantissa.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassmantissa.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassmantissa.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassmantissa.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassmantissa.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassmantissa.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassmantissa.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassmantissa.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassmantissa.wordpress.com&blog=1256866&post=22&subd=glassmantissa&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassmantissa.wordpress.com/2007/08/10/objects-and-web-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb30679b6123f1ca3f2f1f05f9aed136?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dots</media:title>
		</media:content>
	</item>
		<item>
		<title>naming conventions</title>
		<link>http://glassmantissa.wordpress.com/2007/05/17/naming-conventions/</link>
		<comments>http://glassmantissa.wordpress.com/2007/05/17/naming-conventions/#comments</comments>
		<pubDate>Thu, 17 May 2007 04:00:00 +0000</pubDate>
		<dc:creator>dots</dc:creator>
				<category><![CDATA[naming]]></category>
		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://glassmantissa.wordpress.com/2007/05/17/naming-conventions/</guid>
		<description><![CDATA[classes ~  nouns, in mixed case with the first letter of each internal word capitalized. Try to keep your class names simple and descriptive. Use whole words-avoid acronyms and abbreviations (unless the abbreviation is much more widely used than the long forminterfaces ~  capitalized like class names.methods ~  verbs, in mixed case [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassmantissa.wordpress.com&blog=1256866&post=9&subd=glassmantissa&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-size:130%;"><span style="font-weight:bold;">classes</span></span> ~  nouns, in mixed case with the first letter of each internal word capitalized. Try to keep your class names simple and descriptive. Use whole words-avoid acronyms and abbreviations (unless the abbreviation is much more widely used than the long form<br /><span style="font-size:130%;"><span style="font-weight:bold;">interfaces</span></span> ~  capitalized like class names.<br /><span style="font-size:130%;"><span style="font-weight:bold;">methods</span></span> ~  verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized.<br /><span style="font-weight:bold;font-size:130%;">constants</span> ~ upper case letters and words separated by underscore<br /><span style="font-weight:bold;font-size:130%;">variables</span> ~ mixed case with a lowercase first letter. Internal words start with capital letters. Variable names should not start with underscore _ or dollar sign $ characters, even though both are allowed.<a name="15432"></a> Variable names should be short yet meaningful. The choice of a variable name should be mnemonic- that is, designed to indicate to the casual observer the intent of its use. One-character variable names should be avoided except for temporary &#8220;throwaway&#8221; variables. Common names for temporary variables are <code>i</code>, <code>j</code>, <code>k</code>, <code>m</code>, and <code>n</code> for integers; <code>c</code>, <code>d</code>, and <code>e</code> for characters.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/glassmantissa.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/glassmantissa.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/glassmantissa.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/glassmantissa.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/glassmantissa.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/glassmantissa.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/glassmantissa.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/glassmantissa.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/glassmantissa.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/glassmantissa.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/glassmantissa.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/glassmantissa.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=glassmantissa.wordpress.com&blog=1256866&post=9&subd=glassmantissa&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://glassmantissa.wordpress.com/2007/05/17/naming-conventions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fb30679b6123f1ca3f2f1f05f9aed136?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dots</media:title>
		</media:content>
	</item>
	</channel>
</rss>