<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Examples on Justin Carmony</title>
		<link>https://www.justincarmony.com/tags/examples/</link>
		<description>Recent content in Examples on Justin Carmony</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 19 Mar 2015 18:13:35 +0000</lastBuildDate>
		
			<atom:link href="https://www.justincarmony.com/tags/examples/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Barebones Example of using React &amp; Webpack</title>
				<link>https://www.justincarmony.com/2015/03/19/barebones-example-of-using-react-webpack/</link>
				<pubDate>Thu, 19 Mar 2015 18:13:35 +0000</pubDate>
				<guid>https://www.justincarmony.com/2015/03/19/barebones-example-of-using-react-webpack/</guid>
				<description>&lt;p&gt;The biggest hurdle to starting with &lt;a href=&#34;http://facebook.github.io/react/&#34;&gt;React&lt;/a&gt; is getting your JSX files to compile to plain JavaScript. My preference is to use &lt;a href=&#34;http://webpack.github.io/&#34;&gt;webpack&lt;/a&gt; to accomplish this.&lt;/p&gt;&#xA;&lt;p&gt;If you go and google “react webpack starter” you get some great, fully featured starters like &lt;a href=&#34;https://github.com/webpack/react-starter&#34;&gt;react-starter&lt;/a&gt;. The problem is if you’re not starting from scratch, it can be very hard to see what files / settings / etc you need to bring into your project to make it work.&lt;/p&gt;</description>
			</item>
			<item>
				<title>&#34;Nerfing&#34; a PHP Object</title>
				<link>https://www.justincarmony.com/2009/09/20/nerfing-a-php-object/</link>
				<pubDate>Sun, 20 Sep 2009 18:26:35 +0000</pubDate>
				<guid>https://www.justincarmony.com/2009/09/20/nerfing-a-php-object/</guid>
				<description>&lt;p&gt;I was trying to think of something with PHP I could blog about that would be short and sweet. Then I thought of something that a good friend of my taught me: &lt;strong&gt;nerfing objects&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Many times while working with PHP and bigger frameworks, you&amp;rsquo;ll have classes that extend classes that extand classes. We have an &lt;a href=&#34;http://en.wikipedia.org/wiki/Object-relational_mapping&#34;&gt;ORM system&lt;/a&gt; that interfaces our Database with PHP classes. This makes accessing and updating information easy for us. So lets say we have a class called &amp;ldquo;Post&amp;rdquo; that stores a blog post. Our ORM class just takes a few lines of code to hook up our &amp;ldquo;Post&amp;rdquo; class to the &amp;ldquo;posts&amp;rdquo; database tables. We just extend our base DataObject, which contains all sorts of references to other class isntances. Long story short, this PHP code is awesome, but there is one issue.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
