LitePost Contest Screencasts
December 03, 2010
Posted in Community
Posted By: Mike Henke
Here are two 5 minute screencasts to help you get started for the <a href="https://cfwheels.org/blog/index.cfm/2010/1/25/Wheels-LitePost-Contest--win-Amazon-Gift-Card">Wheels Litepost Learning Contest</a>.<!--more-->
<h3>Getting Started Outline</h3>
<ol>
<li>Check out Litepost through SVN</li>
<li>Run the SQL query to create the Litepost tables</li>
<li><a href="https://cfwheels.org/download">Download Wheels</a> and installing</li>
<li>Configure the datasource for Wheels</li>
<li>Create a model cfc</li>
<li>Create a controller to call the model</li>
<li>Create a view</li>
</ol>
<object id="scPlayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="540" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="thumb=http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/FirstFrame.jpg&containerwidth=1440&containerheight=872&content=http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/contest1.swf" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="allowScriptAccess" value="always" /><param name="base" value="http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/" /><param name="src" value="http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/bootstrap.swf" /><param name="flashvars" value="thumb=http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/FirstFrame.jpg&containerwidth=1440&containerheight=872&content=http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/contest1.swf" /><param name="allowfullscreen" value="true" /><embed id="scPlayer" type="application/x-shockwave-flash" width="540" height="400" src="http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/bootstrap.swf" base="http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/" allowscriptaccess="always" scale="showall" allowfullscreen="true" flashvars="thumb=http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/FirstFrame.jpg&containerwidth=1440&containerheight=872&content=http://content.screencast.com/users/mhenke/folders/Jing/media/2a8dd55c-56fb-4e46-a746-86ee5be85cd7/contest1.swf" bgcolor="#FFFFFF" quality="high"></embed></object>
<a href="http://www.screencast.com/t/Y2MyYjllO">Getting Started Screencast link</a>
<h3>Getting Started Notes</h3>
<ul>
<li>Really, the first step is done to get the create tables sql script so we can create our Litepost tables and so you can review other frameworks implementation of Litepost. You could grab <a href="http://litepost.googlecode.com/svn/trunk/db/blogTables.sql">blogTables.sql</a> and run it.</li>
<li>I skipped showing setting up a ColdFusion instance and creating the Litepost datasource for time purposes.</li>
<li>The <a href="https://cfwheels.org/plugins/listing/9">scaffolding plugin</a> will generate the create, read, update, and delete (CRUD) functionality for you in a few seconds.</li>
</ul>
<h3>Creating CRUD in a few seconds Outline</h3>
<ol>
<li><a href="https://cfwheels.org/plugins/listing/9">Download Scaffolding Plugin</a> and install</li>
<li>Generate User Model, View, and Controller</li>
<li>Review user interface generated</li>
<li>Review Model code generated</li>
<li>Review Controller code generated</li>
</ol>
<object id="scPlayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="540" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="thumb=http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/FirstFrame.jpg&containerwidth=1440&containerheight=899&content=http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/contest2.swf" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="allowScriptAccess" value="always" /><param name="base" value="http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/" /><param name="src" value="http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/bootstrap.swf" /><param name="flashvars" value="thumb=http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/FirstFrame.jpg&containerwidth=1440&containerheight=899&content=http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/contest2.swf" /><param name="allowfullscreen" value="true" /><embed id="scPlayer" type="application/x-shockwave-flash" width="540" height="400" src="http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/bootstrap.swf" base="http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/" allowscriptaccess="always" scale="showall" allowfullscreen="true" flashvars="thumb=http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/FirstFrame.jpg&containerwidth=1440&containerheight=899&content=http://content.screencast.com/users/mhenke/folders/Jing/media/65384406-5d9d-4f23-90c7-ab5ded6fa054/contest2.swf" bgcolor="#FFFFFF" quality="high"></embed></object>
<a href="http://www.screencast.com/t/NTlhYzZj">Creating CRUD in a few seconds Screencast link</a>
<h3>Creating CRUD in a few seconds Notes</h3>
<ul>
<li>You will have to repeat the scaffolding plugin code generation for each table needing CRUD.</li>
<li>Finish the <a href="https://cfwheels.org/blog/index.cfm/2010/1/25/Wheels-LitePost-Contest--win-Amazon-Gift-Card#Rule">other requirements</a></li>
</ul>
<h3>Submissions</h3>
Please email entries to henkem<a href="http://www.google.com/groups/unlock?_done=/groups/profile%3Fenc_user%3D6zM7-xMAAAAsiV0AFSJpL01IhgBsQarLWMj6vob75xS36mXc24h6ww" target="_parent">...</a>@gmail.com include your name and your Wheels/LitePost example. Any code emailed may be used by ColdFuson On Wheels.
Please login to join the conversation! Login