<?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/"
	>

<channel>
	<title>Justice Solutions Web &#38; Graphics &#187; Web Programming</title>
	<atom:link href="http://justicesolutionsllc.com/category/web-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://justicesolutionsllc.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 02:38:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SOPA and PIPA are DOA&#8230;for now</title>
		<link>http://justicesolutionsllc.com/sopa-and-pipa-are-doa-for-now/</link>
		<comments>http://justicesolutionsllc.com/sopa-and-pipa-are-doa-for-now/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 01:07:51 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[Web Server]]></category>
		<category><![CDATA[Florida]]></category>
		<category><![CDATA[internet news]]></category>
		<category><![CDATA[Orlando]]></category>
		<category><![CDATA[pipa]]></category>
		<category><![CDATA[sopa]]></category>

		<guid isPermaLink="false">http://justicesolutionsllc.com/?p=582</guid>
		<description><![CDATA[Well it appears as though SOPA and PIPA are tabled&#8230;.for now.  But that of course won&#8217;t stop them completely as there are rumors that parts of them may still rear their ugly heads sometime in the near future. Many Orlando Florida and Tampa Florida businesses contact Justice Solutions for Web Development and Web Design to [...]]]></description>
			<content:encoded><![CDATA[<p>Well it appears as though SOPA and PIPA are tabled&#8230;.for now.  But that of course won&#8217;t stop them completely as there are rumors that parts of them may still rear their ugly heads sometime in the near future.</p>
<p>Many Orlando Florida and Tampa Florida businesses contact Justice Solutions for Web Development and Web Design to create their next vision.  Many of these businesses see social and viral media as the next generation for their ideas and new and current websites and ask us to build and design them exactly that.  iPhone App Creation is another key part of our business and is another venue for the social and viral media outparcels&#8230;but not if SOPA and PIPA have their way.</p>
<p>Basically in a nutshell&#8230;.if there&#8217;s copyrighted material on a website and it&#8217;s your website&#8230;you are responsible for policing it and removing that material or be fined or sued or maybe even both.  The other two big bombshells of the bills is the ability for ISP&#8217;s (your internet providers such as Century Link, Time Warner, etc.) to block at their level, any websites accused of having copyrighted material, and the ability for any private owner of copyrighted material to bring a lawsuit against a site (currently only the Justice Department can do so).</p>
<p>These provisions place a huge burden on the owners of the smaller sites trying to get to the levels of YouTube, Google, Facebook, etc. who could easily afford the defense costs if targeted in such a suit.  In an economy which desperately wants and needs to create new opportunities for the American people, it seems as though this legislation really could impact the already barely recovering economy.  Not to mention the fact that the whole censorship of sites &#8220;accused&#8221; of having copyrighted material on their site at the ISP level just gives me a really bad feeling about these bills.</p>
<p>Now do I feel something needs to be done about online piracy and protection of copyrighted materials&#8230;.absolutely.  However not at the expense of causing a bigger problem than what currently exists.  Napster combated it by saying&#8230;.let&#8217;s work a deal to make this legal and get you (the music owners) some money since if things continue you&#8217;ll have none.  Apple recently combated it by saying to its new iCloud subscribers&#8230;hey give us $39 a year and we&#8217;ll allow you to &#8220;legalize&#8221; your music and even give you a better sounding one while we&#8217;re at it.  The world of the world wide web is always changing and evolving, so we as a country must continue to evolve as well and not just throw up censorship as the only way to solve a problem.  We need to rethink SOPA and PIPA since otherwise we&#8217;ll all be SOL.</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/sopa-and-pipa-are-doa-for-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Dreamweaver CS3 Crashes</title>
		<link>http://justicesolutionsllc.com/fixing-dreamweaver-cs3-crashes/</link>
		<comments>http://justicesolutionsllc.com/fixing-dreamweaver-cs3-crashes/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 20:27:53 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Crashing]]></category>
		<category><![CDATA[Daylight Savings Time]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.justicesolutionsllc.com/?p=186</guid>
		<description><![CDATA[Ok, just a quick post today about an issue that I personally encountered that about baffled the living hell out of me.  If you have Dreamweaver CS3, this is what happened to me&#8230;.maybe it&#8217;ll help you. Opened a file&#8230;php&#8230;.and edited it and saved it no problem.  Went to another .php file in my same project [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, just a quick post today about an issue that I personally encountered that about baffled the living hell out of me.  If you have Dreamweaver CS3, this is what happened to me&#8230;.maybe it&#8217;ll help you.</p>
<p>Opened a file&#8230;php&#8230;.and edited it and saved it no problem.  Went to another .php file in my same project directory and as soon as I hit the &#8220;{&#8221; character&#8230;.I got the dreaded, &#8220;Adobe Dreamweaver Has Stopped Working&#8221;&#8230;and so it closes and the frustration began.  This also happened on a few .cfm ColdFusion files as well and in some cases it just involved me clicking in the code region like I was going to type something&#8230;but never got the chance as DW closed right away.</p>
<p>So after doing some digging that day, still couldn&#8217;t find anything.  Thankfully I found the answer which said the error was caused by&#8230;.Daylight Savings Time!!!!  I had been in Arizona for many years and never changed my clocks on my computer since Arizona doesn&#8217;t change to and from Daylight Savings Time.</p>
<p>I thought about it and said you know, the problems did happen right on a Monday morning after the clock change&#8230;I wonder.  So following the instructions I went to C:Users&lt;username&gt;AppDataRoamingAdobeDreamweaver 9Configuration. (or if you have XP or Pre-Vista &#8211; C:Documents and Settings[Your username]Application DataAdobeDreamweaver<br />
9Configuration), deleted the WinFileCache*.dat  from that directory, then restarted Dreamweaver&#8230;.in a flash (no pun intended) it was working like a charm again.</p>
<p>I&#8217;m sure this has been fixed in later versions but just in case you&#8217;re not able to upgrade yet to CS4 and you&#8217;re still using CS3 like me, you&#8217;ll definitely want to make sure you watch for this in the future.  Hope it helps someone else&#8230;.let me know if it does.</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/fixing-dreamweaver-cs3-crashes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Things Web Developers Should Do to Avoid Getting Screwed by their Clients.</title>
		<link>http://justicesolutionsllc.com/5-things-web-developers-should-do-to-avoid-getting-screwed-by-their-clients/</link>
		<comments>http://justicesolutionsllc.com/5-things-web-developers-should-do-to-avoid-getting-screwed-by-their-clients/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 06:52:19 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Project Management]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[Website Bidding]]></category>
		<category><![CDATA[Client Management]]></category>
		<category><![CDATA[Contracts]]></category>
		<category><![CDATA[Hourly Fees]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.justicesolutionsllc.com/?p=150</guid>
		<description><![CDATA[This has been bothering me over the past couple of months and I just thought I&#8217;d share some random thoughts about things you should make sure your clients understand about web development, their expectations, and what to expect from you as their developer through, during, and after the initial development process. Let the clients know [...]]]></description>
			<content:encoded><![CDATA[<p>This has been bothering me over the past couple of months and I just thought I&#8217;d share some random thoughts about things you should make sure your clients understand about web development, their expectations, and what to expect from you as their developer through, during, and after the initial development process.</p>
<ol>
<li>Let the clients know that you do actually have other clients and even though their project isn&#8217;t less important than the other clients, but please be respectful of the time that needs to be shared across all client lines.</li>
<li>You do get what you pay for and sometimes a little bit more.  Meaning my old philosophy was to always err on the side of the client&#8230;if there&#8217;s a contractual problem that results in a few extra hours, then go ahead and do it.  However I now realize that even though you go the extra mile, the old addage my mother used to say about giving people an inch and they&#8217;ll take a yard still holds true to this day.  So give the client what they paid for&#8230;and then if there&#8217;s a problem and they want something extra, explain to them why they need to pay for that as well.</li>
<li>Write your contracts with no guarantees.  One of my favorite films is Tommy Boy and if you remember this film, his father &#8220;Big Tom&#8221; would tell potential customers who wanted a guarantee from him about his auto parts that you can take a piece of s**t, put it in a box and slap a guarantee on it&#8230;however all you&#8217;re guaranteeing is that it is just a guaranteed piece of s**t in a box.  The same holds true in web development.  If you do quality work, let that work speak for itself.  If they want a guarantee, let them know that you provide a service contract that they can purchase that will cover certain issues if there is a problem.</li>
<li>Don&#8217;t let yourself be taken advantage of&#8230;have your clients pay for the programming hours before they are used.  I know this is a very bold statement, however in this wacky economy right now it&#8217;s necessary.  I have 4 clients who are 90+ days out on their payments.  I&#8217;ve even shut down a website because this person hasn&#8217;t contacted me about the final payment or anything.  It&#8217;s not fair to the developer who takes a lot of time to produce quality web development work and then gets left holding the bag.  If you go into a grocery store and say&#8230;bill me&#8230;they&#8217;ll tackle you and maybe even prosecute you for shoplifting.  In the web world you should space out your payments enough so that a client doesn&#8217;t waste a ton of money if the developer doesn&#8217;t pull through, but still can satisfy the web developer&#8217;s need to get paid for their time.</li>
<li>Always keep detailed records of the time you&#8217;re spending on a project&#8230;even if it&#8217;s a flat fee project.  The reason&#8230;you can always show your client the amount of hours a certain task has taken and if they believe they&#8217;re not getting enough work from you, you have a good backup for those discussions.  It probably would help sending those hours summaries each week as well.</li>
</ol>
<p>I&#8217;ll probably have a few followups to this subject, but if you have any horror stories you&#8217;d like to share and what you&#8217;ve done to avoid them in the future, I think we&#8217;d all like to see them.  I&#8217;m not ragging on all clients&#8230;I have several really really good ones who are great overall&#8230;but there are a few which really get your goat&#8230;and it really isn&#8217;t fair.  So take these suggestions for what it&#8217;s worth and I hope it makes for a better client experience for you and your web development company.</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/5-things-web-developers-should-do-to-avoid-getting-screwed-by-their-clients/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Experts in Data Mining, Screen Scraping, and Import to a Single Source</title>
		<link>http://justicesolutionsllc.com/experts-in-data-mining-screen-scraping/</link>
		<comments>http://justicesolutionsllc.com/experts-in-data-mining-screen-scraping/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 18:58:29 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Data Mining]]></category>
		<category><![CDATA[Screen Scraping]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.justicesolutionsllc.com/?p=144</guid>
		<description><![CDATA[Ok, it&#8217;s time to toot our own horn today.  I&#8217;ve seen plenty of blogs on this where businesses and individuals are looking to grab data from multiple sources (that they are allowed to scrape mind you), and combine it all into one grand application or database&#8230;often to no avail and leave very frustrated comments about [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, it&#8217;s time to toot our own horn today.  I&#8217;ve seen plenty of blogs on this where businesses and individuals are looking to grab data from multiple sources (that they are allowed to scrape mind you), and combine it all into one grand application or database&#8230;often to no avail and leave very frustrated comments about their trials and tribulations.</p>
<p>Well, we&#8217;ve been doing this for quite a while and I felt as though it was time to let other folks know about it since there are a lot of opportunities for businesses to save on some soft employee costs, reduce overhead, and increase productivity and data.</p>
<p><strong>A Quick Word About Why You Should Hire a Web Development/Design Company<br />
</strong>This is where web development companies are worth their weight in gold.  Yes, I know there&#8217;s plenty of cookie cutter do it yourself websites out there, and they are great and very affordable.  But when you have an idea that is unique, or a situation that is unique, you really don&#8217;t want what is out there available for everyone else.  I mean, honestly&#8230;if Dell used a cookie cutter build your own computer plugin, would they really be all that different from the other 100 web stores that offer the same thing at approximately the same cost?  No, you&#8217;d probably go to the place that was unique, professional looking, and looked as though they actually spent some money building a better mousetrap.  Ok&#8230;so there&#8217;s my two cents why you should actually use us&#8230;.on to the good stuff.</p>
<p><strong>Why You Would Need an Expert in Data Mining and Screen Scraping</strong><br />
Let&#8217;s say you are a company in Arizona who has an idea to put together a site that puts together all of the latest reduction in homes for sale prices.  Now there&#8217;s a bunch of websites out there that you&#8217;ve contacted and said you&#8217;re going to promote this site and obviously push the business to the various real estate agents involved.  Now comes the fun&#8230;.gathering this data on a daily basis and putting it all into your application.  That&#8217;s where Justice Solutions comes in.</p>
<p><strong>Grab Data, Massage Data, Import Data, Display Data<br />
</strong>So now you hire Justice Solutions to do this seemingly impossible task.  We now take the web addresses of these various sites and create an application that will go out to each one, identify the way each site displays its data, grab it (even if it&#8217;s on multiple pages), and then perform some massaging scripts that will convert any text data into price data, etc.  We then import that data into your master database which will then be used to display the data to your website users in a unique format specific to your website.</p>
<p><strong>Why It&#8217;s So Difficult<br />
</strong>The reason this is usually such a daunting task is because if you&#8217;re not used to it, trying to identify data patterns and other things that go into dealing with data from multiple sources can be quite overwhelming.  Also, you have to be able to automate all of it so it happens quickly and without much user intervention.</p>
<p><strong>We&#8217;ll Toot Today<br />
</strong>So if you or a person you know has an idea like this, or an existing business that would benefit from this type of application, please refer them to us.  We gladly pay referral fees and would be happy to help in easing the fears of this commonly thought of, but rarely successful, business model.  Contact info@justicesolutionsllc.com for more information.</p>
<p>Until next time&#8230;happy coding&#8230;and mining&#8230;.</p>
<p>Doug.</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/experts-in-data-mining-screen-scraping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixed CSS Positioning in IE6, IE7, etc.</title>
		<link>http://justicesolutionsllc.com/fixed-css-positioning-in-ie6-ie7-etc/</link>
		<comments>http://justicesolutionsllc.com/fixed-css-positioning-in-ie6-ie7-etc/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 00:03:44 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.justicesolutionsllc.com/?p=134</guid>
		<description><![CDATA[See The Float In Action Here You know, nothing is more frustrating when you hear that something has been fixed in a particular software update, and then you find out that it really hasn&#8217;t. I ran into this today when I was trying to do some fixed positioning of a new web host that needed [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vacationtravelclub.com/home_newwelcome.cfm" target="_blank"><span style="color: #ffffff;"><span style="text-decoration: underline;"><strong><span>See The Float In Action Here</span></strong></span></span></a></p>
<ul></ul>
<p>You know, nothing is more frustrating when you hear that something has been fixed in a particular software update, and then you find out that it really hasn&#8217;t.  I ran into this today when I was trying to do some fixed positioning of a new web host that needed to be affixed to the bottom of the browser and to the right at all times.  I heard that fixed positioning in IE7 was now possible, so like an idiot I went ahead and placed just position: fixed; into my CSS and uploaded it for testing.</p>
<p><a href="http://www.justicesolutionsllc.com/wp-content/uploads/2008/12/vtc-post.gif"><img class="alignright size-medium wp-image-135" style="border: 1px solid black; margin: 10px;" title="CSS Floating Layer in IE6 and IE7" src="http://www.justicesolutionsllc.com/wp-content/uploads/2008/12/vtc-post.gif" alt="" width="300" height="225" /></a>Of course in Firefox it looked and reacted fantastic.  Then I opened IE7 and whoa&#8230;&#8230;it was all the way shifted down at the bottom of my page like it never even looked at the CSS to position it.  I&#8217;m not here to debate whether your version of IE7 works with this or not, but I can help you keep the IE6 and possibly some IE7 users who have messed up versions happy with your site design.</p>
<p><strong>The Fix</strong><br />
Ok, short, simple sweet.  That&#8217;s the way all web developers like it right?  Well you&#8217;re gonna love this one then.  First thing&#8230;add the following into your .css file or in your head tags of your page&#8230;it&#8217;ll work either way:</p>
<p><code><br />
* {<br />
margin: 0;<br />
}<br />
html, body {<br />
height: 100%;<br />
overflow: auto;<br />
}<br />
.wrapper {<br />
position: relative;<br />
width: 100%;<br />
height: 100%;<br />
overflow: auto;<br />
}<br />
</code></p>
<p>With me so far?  Ok, next go ahead and create 2 more entries in your CSS substituting whatever name you are going to call the div that will contain your desired &#8220;floating&#8221; layer.  In this case I&#8217;m calling it floatHer.</p>
<p><code><br />
#floatHer {<br />
position:fixed;<br />
bottom:0;<br />
right:0;<br />
width:720px;<br />
height:480px;<br />
z-index:7;<br />
}<br />
* html #floatHer {<br />
position: absolute;<br />
}</code></p>
<p><strong>Finally&#8230;.and this is the cool part&#8230;just put</strong></p>
<p>around the code of the page that IS NOT SUPPOSED TO FLOAT.  Keep the div that you are wanting to float outside of this tag since this is part of the magic that happens when all of this comes together on your page.</p>
<p>Now upload/test your page in any browser you&#8217;d like and you&#8217;ll find your floating layer reacting just fine in IE6, Your screwed up version of IE7 like mine, Firefox, Safari, etc.  Now obviously there&#8217;s some issues when it comes to scroll bars, etc., but for the basic ad you want to float on top of the web page (that&#8217;s why you googled this right?) this will work just fine.</p>
<p>Until next time&#8230;happy coding!</p>
<p>Doug.</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/fixed-css-positioning-in-ie6-ie7-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET Shopping Cart Example Using Only Session Variables</title>
		<link>http://justicesolutionsllc.com/net-shopping-cart-example-using-only-session-variables/</link>
		<comments>http://justicesolutionsllc.com/net-shopping-cart-example-using-only-session-variables/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 18:27:51 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[asp.NET]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Shopping Carts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.justicesolutionsllc.com/?p=122</guid>
		<description><![CDATA[Shopping carts are basically a dime a dozen.  But there&#8217;s always some component of them that doesn&#8217;t quite fit into your current model.  So what do you do when you are up against a deadline and need to quickly produce a basic front end of a shopping cart to hold items and quantities in .NET [...]]]></description>
			<content:encoded><![CDATA[<p>Shopping carts are basically a dime a dozen.  But there&#8217;s always some component of them that doesn&#8217;t quite fit into your current model.  So what do you do when you are up against a deadline and need to quickly produce a basic front end of a shopping cart to hold items and quantities in .NET using on Session Variables?</p>
<p>I came up with this solution after thinking about a quick way to avoid having to read and write to a database, but not storing elaborate arrays and such to try and accomplish a very simple shopping cart structure.</p>
<p><code><br />
// Get the Item We're Going to Add to the Cart<br />
int itemID = Convert.ToInt32(Request.QueryString["itemid"]);</p>
<p>// Get the Item (I use a Business Logic here, but you could easily grab the item information from your //database call or items from a grid, etc.<br />
item m = new item();<br />
itemAssembler ma = new itemAssembler();<br />
m = ma.ReadSingleByKey(itemID);</p>
<p>// Now grab a random number so we can track the items in the cart individually</p>
<p>Random rand = new Random();<br />
int x;<br />
x = rand.Next(100000, 999999);</p>
<p>// Check and see....Do we have a cart already?<br />
if (Session["cart"] == null)<br />
{</p>
<p>// Add the item to the cart<br />
NameValueConfigurationCollection cart = new NameValueConfigurationCollection();</p>
<p>//Add an Item to the cart ("ITEM",Variance, ItemID,Quantity)<br />
NameValueConfigurationElement nvc = new NameValueConfigurationElement("ITEM," + x.ToString() + "," + "1", m.id.ToString());<br />
cart.Add(nvc);<br />
Session["cart"] = cart;<br />
}<br />
else<br />
{<br />
NameValueConfigurationCollection cart = Session["cart"] as NameValueConfigurationCollection;</p>
<p>//Add an Item to the cart ("ITEM",ItemID,Quantity)<br />
NameValueConfigurationElement nvc2 = new NameValueConfigurationElement("ITEM," + x.ToString() + "," + "1", m.id.ToString());<br />
cart.Add(nvc2);<br />
Session["cart"] = cart;<br />
}</p>
<p>// Now take your user to the cart view page you'd create<br />
Response.Redirect("your_cart.aspx");<br />
</code></p>
<p>
Now on our &#8220;your_cart&#8221; page, you can now loop through the items in the cart and display them however you&#8217;d like.
</p>
<p><code><br />
// Let's load the items from the shopping cart into the table<br />
            NameValueConfigurationCollection cart = Session["cart"] as NameValueConfigurationCollection;<br />
            foreach (NameValueConfigurationElement n in cart)<br />
            {</p>
<p>                //Now split the value for the Item Type, the ID, and the Quantity<br />
                String typelist = n.Name;<br />
                char[] sep = { ' ', ',', '.', ':', 't' };<br />
                String[] typeitems = typelist.Split(sep);</p>
<p>                //Hold these values in some String Variables<br />
                String type = typeitems[0];<br />
                String cartitem = typeitems[1];<br />
                String qty = typeitems[2];</p>
<p>                //Now set up our currency display<br />
                System.Globalization.NumberFormatInfo nfi = new System.Globalization.NumberFormatInfo();<br />
                nfi.CurrencyDecimalDigits = 2;<br />
                nfi.CurrencySymbol = "$";</p>
<p>                //Take your business/data logic and grab the information<br />
                item i = new item();<br />
                itemAssembler ia = new itemAssembler();<br />
                itemCriteria ic = new itemCriteria();</p>
<p>                if(ia.ReadSingleByKey(Convert.ToInt32(n.Value)) != null)<br />
                {<br />
                i = ia.ReadSingleByKey(Convert.ToInt32(n.Value));</p>
<p>                // Get the Retail Price<br />
                int productid = i.id;<br />
                pricing pps = new pricing();<br />
                decimal retailprices = Convert.ToDecimal(i.retail);// +Convert.ToDecimal(i.shipping);</p>
<p>                //Now take the Table you have on your display page and add rows to it...<br />
                HtmlTableRow mainrow = new HtmlTableRow();<br />
                HtmlTableCell maincell = new HtmlTableCell();<br />
                maincell.InnerHtml = "<br />
<tr>
<td align='center' bgcolor='gainsboro' colspan='3' style='text-align: left' valign='top'>" + i.name + "</td>
<td bgcolor='#CCCC99'><a href='RemoveItem.aspx?cartitem=" + n.Name + "'>Remove Item</a></td>
<p>";<br />
                mainrow.Cells.Add(maincell);<br />
                tblCase.Rows.Add(mainrow);</p>
<p>            }</p>
<p>            System.Globalization.NumberFormatInfo tnfi = new System.Globalization.NumberFormatInfo();<br />
            tnfi.CurrencyDecimalDigits = 2;<br />
            tnfi.CurrencySymbol = "$";</p>
<p>            // Now populate the items on the Total Costs Table<br />
            lblSubtotal.Text = String.Format(tnfi, "{0:c}", subtotal);<br />
            lblTax.Text = String.Format(tnfi, "{0:c}", tax);<br />
            lblShipping.Text = String.Format(tnfi, "{0:c}", shipping);<br />
            total = subtotal + shipping + tax;<br />
            lblTotal.Text = String.Format(tnfi, "{0:c}", total);<br />
        }</p>
<p></code></p>
<p>
You now have a simple shopping cart in just a few lines of code since most of the code is used to get the information about your particular item and can be streamlined even more if you wanted to store all of that into the string as well.  Ok, so now that you have a way to put together a quick cart for your client before morning&#8230;.happy coding</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/net-shopping-cart-example-using-only-session-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Web Developers Should Take Some Basic Networking Web Server Classes</title>
		<link>http://justicesolutionsllc.com/why-web-developers-should-take-some-basic-networking-web-server-classes/</link>
		<comments>http://justicesolutionsllc.com/why-web-developers-should-take-some-basic-networking-web-server-classes/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 01:29:31 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Networking Support]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[Web Server]]></category>

		<guid isPermaLink="false">http://www.justicesolutionsllc.com/?p=89</guid>
		<description><![CDATA[At some point in your web development or web programming career, you will find yourself faced with the task of having to go on to a web server, perhaps Linux Apache or Microsoft IIS, and need to do some system tasks such as adjust some security settings, etc. But what if you&#8217;ve never read or [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_91" class="wp-caption alignleft" style="width: 241px"><a href="http://www.justicesolutionsllc.com/wp-content/uploads/2008/11/server2003.jpg"><img class="size-medium wp-image-91" title="server2003" src="http://www.justicesolutionsllc.com/wp-content/uploads/2008/11/server2003.jpg" alt="Windows Server 2003" width="231" height="300" /></a><p class="wp-caption-text">Windows Server 2003</p></div>
<p>At some point in your web development or web programming career, you will find yourself faced with the task of having to go on to a web server, perhaps Linux Apache or Microsoft IIS, and need to do some system tasks such as adjust some security settings, etc.</p>
<p>But what if you&#8217;ve never read or taken any education in regards to a web server?  You could find yourself in a situation where you can cause more harm than good.</p>
<p>Here&#8217;s an example.  A client of mine had a stack of servers co-hosted at a location.   The servers were delivered pretty much as-is with some basic virus software on it and Windows Server 2003.  I took over one of the three servers and the other developer took on the other.   We discovered tonight after a hack attempt, that the other developer had never disabled the local Admin account&#8230;big whoops.</p>
<p>So for those of you who would like to pass Networking/Server Support 101&#8230;here&#8217;s what you do.  Go to Computer Management under the Administrative Tasks location on the Start menu.  Next, click on users, and then you&#8217;ll see in the right hand pane a list of users.  Now <strong>this is very important</strong>, make certain you have created a new user or updated an existing one&#8230;let&#8217;s say johnsmith, and added her/him to the Administrators Group.  If you don&#8217;t do this you could find yourself in a heap of trouble.  Ok, now that you&#8217;ve done/verified that, right click on the Administrator user and click Properties.  In the dialogue, check the &#8220;User is Disabled&#8221; checkbox.  This will essentially disable this user and you may avoid a low level attack on your web server as a result.</p>
<p>Be careful though, there&#8217;s a lot to networking and support in these systems, so be very sure to double check everything you do not only with a site like this one, but others as well&#8230;there&#8217;s always new information coming out every day about hack attempts and you&#8217;ll want to make sure that you are up to date with the information that will keep your information safe and secure as possible.</p>
<p>Until next time&#8230;happy coding.</p>
<p>Doug.</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/why-web-developers-should-take-some-basic-networking-web-server-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transfer MS SQL 2005 Database to MySQL</title>
		<link>http://justicesolutionsllc.com/transfer-ms-sql-2005-database-to-mysql/</link>
		<comments>http://justicesolutionsllc.com/transfer-ms-sql-2005-database-to-mysql/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 23:24:23 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>

		<guid isPermaLink="false">http://www.justicesolutionsllc.com/?p=83</guid>
		<description><![CDATA[Ok&#8230;did you ever have one of those days where at the end of the day you&#8217;re sitting there going&#8230;.man I wish I would have known that earlier&#8230;I could have saved myself a lot of time and heartache.  Well that was me today. You would think with all of the databases I work with I would [...]]]></description>
			<content:encoded><![CDATA[<p>Ok&#8230;did you ever have one of those days where at the end of the day you&#8217;re sitting there going&#8230;.man I wish I would have known that earlier&#8230;I could have saved myself a lot of time and heartache.  Well that was me today.</p>
<p>You would think with all of the databases I work with I would have had this come up, but surprisingly enough I&#8217;ve never had to migrate or transfer an entire database structure from MS SQL 2005 to MySQL.  I googled just about every combination out there and came up with all of these programs from overseas that claimed to</p>
<div id="attachment_84" class="wp-caption alignright" style="width: 205px"><a href="http://www.justicesolutionsllc.com/wp-content/uploads/2008/11/mysql_migration_toolkit.jpg"><img class="size-thumbnail wp-image-84" style="margin: 5px;" title="mysql_migration_toolkit" src="http://www.justicesolutionsllc.com/wp-content/uploads/2008/11/mysql_migration_toolkit.jpg" alt="" width="195" height="138" /></a><p class="wp-caption-text">MySQL Migration Toolkit is Just What You Need!</p></div>
<p>work perfectly, but even in their trial modes they failed miserably.</p>
<p><strong>The Solution&#8230;MySQL Migration Toolkit</strong></p>
<p>I tried one more google which happened me on to an article which was written by a colleague who wanted to let people know about turning on TCP/IP addressing in MSSQL 2005 if they were having trouble using the MySQL Migration Toolkit.  I quickly clicked on the link for the <a href="http://dev.mysql.com/downloads/gui-tools/5.0.html" target="_blank">MySQL Migration Toolkit</a> (which is a part of the <a href="http://dev.mysql.com/downloads/gui-tools/5.0.html" target="_blank">MySQL</a></p>
<p><a href="http://dev.mysql.com/downloads/gui-tools/5.0.html" target="_blank"> GUI Tools</a>) and in almost 5-10 minutes later I had my entire MSSQL database moved to MySQL.</p>
<p>Now it seems a little bit more complex than it actually is.  Literally all you really need are the username/passwords for the respective databases and the name of the database you will need to connect to and obviously transfer to MySQL.  The only pitfall I ran into was during the creation of one of the tables in the database where it didn&#8217;t like the default of a 1 or &#8220;true&#8221; value in a boolean field.  I went ahead and clicked the &#8220;Advanced&#8221; button at the bottom, looked at the SQL statement, took out the DEFAULT (1), and then clicked the &#8220;Recreate Objects&#8221; button.  It worked like a charm after that.</p>
<p><strong>Don&#8217;t Have &#8220;One of those Days&#8221;</strong></p>
<p>So hopefully someone will also google this and if I&#8217;ve been taught well by my SEO expert friend <a href="http://www.matsiltala.com/" target="_blank">Mat Siltala</a> has taught me correctly&#8230;.you&#8217;ll have found this article and will already be moving on to your next task of the day.  Happy Migrating!</p>
<p>Doug.</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/transfer-ms-sql-2005-database-to-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Design Flat Fee Projects vs. Charging Hourly</title>
		<link>http://justicesolutionsllc.com/web-design-flat-fee-projects-vs-charging-hourly/</link>
		<comments>http://justicesolutionsllc.com/web-design-flat-fee-projects-vs-charging-hourly/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 23:29:43 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Project Management]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[Website Bidding]]></category>

		<guid isPermaLink="false">http://www.justicesolutionsllc.com/?p=45</guid>
		<description><![CDATA[Many times this question comes up from both potential clients and fellow web programmers.  &#8220;Should I or Could I get a Flat Fee for this Job?&#8221;.  The answer isn&#8217;t so simple in many cases and can get you into a lot of problems as far as what to provide for your client, how to handle [...]]]></description>
			<content:encoded><![CDATA[<p>Many times this question comes up from both potential clients and fellow web programmers.  &#8220;Should I or Could I get a Flat Fee for this Job?&#8221;.  The answer isn&#8217;t so simple in many cases and can get you into a lot of problems as far as what to provide for your client, how to handle change requests, and more.</p>
<p><strong>Why You as an Employer Shouldn&#8217;t Ask for a Flat Fee</strong></p>
<p>As a business owner who is ready to get their idea going on the web, the first thing you need obviously is a product or service to sell/offer, and then get a website to do just that.  You would love to have a fixed cost associated with developing the website idea and know that when all is said and done&#8230;that&#8217;s the price you pay.  However you&#8217;ll find in many situations, that this creates a strain on the relationship between you and the devleopment company you choose.</p>
<p><strong>Changes&#8230;They&#8217;re Inevitable.</strong></p>
<p>We all believe that as good business people, we spec out a plan, spec out a website, know all of the drop downs we want, the pages, the look, the feel, etc.  I can tell you from over 18 years of experience of designing webpages I have yet to have a project where a client hasn&#8217;t wanted to change something.  In many cases I&#8217;ll hear, &#8220;This is just a small change.&#8221;.  But because of the backend programming&#8230;it may not be.  Here&#8217;s where the trouble of a fixed cost project comes in.</p>
<p><strong>But that&#8217;s more than I wanted to spend!</strong></p>
<p>So the client changes their mind, I tell them that according to our Flat Fee project agreement, this is different than what was agreed to and hence a change fee is now going to be charged because now the hours I thought the project was going to take is now going to be longer than expected, which means other projects coming up may need to be shifted back some, or I may have to get another developer to work on it which may be a higher cost, etc.  You see where this is going.  Now we&#8217;re into an argument over why its a change request when it&#8217;s just a small change.  Now the relationship is experiencing strain.</p>
<p><strong>Hourly Rates to Save the Day</strong></p>
<p>Now, if we took that same scenario, and placed it into an hourly contract.  We see it is much more manageable.  The client makes a change&#8230;no problem&#8230;we say that change is about 2 hours worth of work, and we do it.  Everyone is happy&#8230;no change fees, etc.</p>
<p><strong>Real Desires vs. Lofty Desires</strong></p>
<p>When a project is hourly, the client has direct control over the final cost of the project.  When bidding, we give them a range of what we feel the project will take to complete it.  So they know the top end, and try to stay under it.  So you find those &#8220;creative changes&#8221; are kept to a minimum and thus&#8230;so does the project&#8217;s cost.</p>
<p><strong>Web Developers Nickle and Diming Clients</strong></p>
<p>Now, I&#8217;m not saying the hourly projects don&#8217;t have their drawbacks.  You need to really feel good about working with the development company you choose, and don&#8217;t be afraid to ask for references.  I personally do not charge my clients for every single email I answer and every phone call I get.  Now, if the phone call ends up taking 30 minutes, or the email requires me to research some items to get back with the client&#8230;certainly&#8230;.but ask your company how they bill.  If they say in houly or half-hour increments&#8230;that could be pretty expensive.  Justice Solutions personally bills in 15 minute increments since usually an email that required research or a phone call takes in total at least 15 minutes to do.</p>
<p><strong>Ask for a Weekly Time Sheet</strong></p>
<p>Also don&#8217;t be afraid to ask for a time sheet showing the hours for the week.  If you know where the project is every week, the final bill or quarterly bill won&#8217;t be so shocking.</p>
<p><strong>Conclusion</strong></p>
<p>Flat fee projects sound great at first, but can very quickly strain a relationship between you and the developer.  Ask for an hourly contract and then have them put into the agreement a guide to give you an idea as to what the project will ultimately cost.  Now if you change the way the website will behave, you can do so without worry, but make sure to get an estimate on the hours the change will cost.  It will help you decide if you should make that change now, or maybe wait until a future phase of the project.</p>
<p>Thanks for reading and hopefully this will help you keep a good relationship between you and your clients, or you and your developers.</p>
<p>Doug.</p>
]]></content:encoded>
			<wfw:commentRss>http://justicesolutionsllc.com/web-design-flat-fee-projects-vs-charging-hourly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

