tag:blogger.com,1999:blog-46403057012856360712024-03-05T14:17:09.713-08:00Blue Web TechniquesBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.comBlogger40125tag:blogger.com,1999:blog-4640305701285636071.post-38220193636187824772010-02-08T06:57:00.000-08:002010-02-08T09:01:15.373-08:00Let the battle continue | ColdFusion vs PHPI’ve read many many………..blogs from developers doing their comparisons between ColdFusion and PHP and while some do have really good points I personally think they all tend to attack basically the same subject almost every time. The subject in mind should be obvious if you’re a developer that must have working knowledge of multiple server-side languages under your belt, as I sure do. One day I could be developing in ColdFusion, the next PHP or even some classic ASP on rare occasions.<br /><br />Before I go into it I must state that I could care less what language I will be programming in any day, any time. Give me a language I haven’t seen before and I will figure it out as because lets face it, they’re pretty much the same here and there but mostly there.<br /><br />First off, the obvious, database stuff:<br />Every ColdFusion developer knows that making a connection to a database server and querying database records is as easy as cracking open that first beer. As for PHP it can be done also with ease. Only difference I see is that you keep your database connection settings somewhere on the server or in the site directory. The annoyance for PHP is querying some records. If you’re a noob to PHP, you might find it difficult but if you’ve done it a couple thousand times, it should be second nature but ColdFusion is of coarse better at doing database stuff.<br /><br />Now for syntax stuff:<br />As for ColdFusion’s syntax, it’s similar to HTML and is suppose to be easier for developers to understand and sure sure, it is in fact easier to look at but that’s about it really. PHP syntax should be very familiar to any developer that has played with languages that contain the norm of curly brackets, concatenation, escape characters and echoing out your variable values and such. One thing that I think PHP might have up on ColdFusion in the syntax stuff is that a developer who is familiar with Java, JavaScript, C++ and even C# can easily have an understanding of the mark up. Not a huge thing mainly because ColdFusion has the cfscript tags that you can use if you prefer to code in the norm.<br /><br />Storing an include into a variable:<br />I might get whined at for this one but PHP is definitely better at this. For PHP, all you do define your variable and put the path to your include into a string via the include() function and that’s it. As for ColdFusion, you use the cfsavecontent tag which is a bit much to be honest. Yea, I know, if your programming via custom functions you can include the file that way and call your method but that’s not the point I’m making here. Know matter what, PHP got this one.<br /><br />Opening and closing tag stuff:<br />ColdFusion and PHP are the same here BUT their not. For ColdFusion, you can put all your code into the page without having to worry about opening or closing sections of code when you need to put in some CSS or HTML. Not the case here for PHP and it’s definitely annoying to look at a page and all you see are opening and closing PHP tags all over the place. ColdFusion got this one, no doubt.<br /><br />Function argument stuff:<br />Sorry Cfer’s but I think PHP wins this one also. To include an argument into your functions via PHP, just toss them into your functions ($parentheses) and delimit them by a comma as norm. For ColdFusion, you use cfargument to include any arguments to the functions. One thing that ColdFusion’s cfargument tag does have is the ability to set the type of the argument as well as if the argument is required. You know what, think I’ll call this one a tie because they both have their goods and bads.<br /><br />File upload stuff:<br />ColdFusion is a beast when it comes to file uploads for sure. Use the cffile tag and toss in some common logic and you’re golden. But for PHP you gotta write the file as temporary file, do common logic, then use the move_uploaded_file() function to do more logic. ColdFusion got this one without even thinking twice.<br /><br />Image manipulation stuff:<br />This one might be a toss up but we’ll see. ColdFusion has a boat load of image functions already available without installing anything special. Just open the image via ColdFusion and start messing around with it. That’s about it really. PHP is kind of the same but with some things that may or may not create some headaches. To do some playing around with images via PHP you must have the GD library installed and in some cases I’ve seen this installed by default but it all depends on the server really. Once you have the GD library installed you can pretty much do the same thing you can do with ColdFusion, such as resize, flip, crop, draw and tons more. But for the sake of having less headaches, I’m gonna give this one to ColdFusion only because image manipulation is there already and there’s no need to install any junk.<br /><br />Community stuff:<br />Whoooooaaaaa buddy does ColdFusion have this one in the bag, in fact two bags……….maybe three. The ColdFusion community is just badass to say the least. Ask a question about ColdFusion on Twitter and you’re flooded with responses. BUT ask a question about PHP and nada, nothing, not even a peep will come from it.<br /><br />Other general stuff:<br />ColdFusion and PHP both have the normal functions that every language has such as creating and manipulating an array structure, zipping files up, executing .exe or unix binaries, error and exception handing, support for basically any database, a form of creating application wide variables and security functions for SQL Injection.<br /><br />Let’s face it, every language has their annoyances even Microsoft’s beloved .NET, but all that matters is how you handle those annoyances, which is one of the main reasons why I love programming as much as I do. You get a job, you start that job, run into walls while working on the job, you figure out how to break the wall down and you get to raise you arms up in the air like you won a battle.<br /><br />In my opinion and that’s all it is. Is that the community for any language should be willing to give each other a hand or even some solid knowledge about how to accomplish certain things especially to the newcomers and this is where ColdFusion definitely wins the battle.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-63155898560283499992010-01-18T17:04:00.000-08:002010-01-18T17:11:44.364-08:00BWT Simple PHP Contact FormJust got done putting together a very simple form available for download that I decided to call BWT Simple PHP Contact Form. Simple name for a simple script.<br /><br />BWT Simple PHP Contact Form as the name states is a simple contact form that can be implemented into any website, on any server that is running PHP5+.<br /><br />All form validation is check by the server and contains no JavaScript and is written in the form of Object Oriented Programming (OOP).<br /><br />That's about it really.<br /><br />Please feel free to download the script and give it a go.<br /><br />Click <a href="http://dbt.sytes.net/download/BWT%20Simple%20PHP%20Contact%20Form%20v1.0.zip">here</a> to download<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-73787390261268919132010-01-16T10:01:00.000-08:002010-01-16T10:33:31.748-08:00Simple OOP Form with PHPLet's face it, as a developer, you WILL have to do some playing with PHP. It's just a matter of time and if you can't stand the language, you're gonna have to just deal with it. As PHP is still one of the most widely used server-side languages today, it's juts best to learn the language, and learn it the right way.<br /><br />Now, when I say the right way, I mean, by using programming best practices as stated in my last blog about UML, MVC and OOP. This blog is about OOP in general and why it is the best and cleanest way to program your applications.<br /><br />Below is a very simple example of PHP OOP and forms:<br /><br />The PHP the class:<br /><?php<br />class HelloClass<br />{<br />public function sayHello($obj)<br />{<br />echo $say_hello = "Hello there " . $this->hello_name;<br />return say_hello;<br />}<br />}<br />?><br /><br />The HTML:<br /><form action="" name="hello_form" method="post"><br />Enter your name:<br/><br /><input type="text" name="hello_name" value="" /><br/><br /><input type="submit" name="hello_submit" value="Say Hello"/><br /><input type="hidden" name="hello" value="true"/><br /></form><br /><br />Define the objects:<br /><?php<br />$obj = new HelloClass;<br />$obj->hello_name = $_POST['hello_name'];<br />$obj->hello = $_POST['hello'];<br />$obj->sayHello($obj);<br />?><br /><br />The results:<br />Hello there "Name that was entered"<br />Ex: Hello there Pete<br /><br />I know the code might be a bit messy on Blogger but feel free to download this example <a href="http://dbt.sytes.net/download/simpleOOPForm.zip">here</a>.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-91985386798037019172010-01-08T20:11:00.000-08:002010-01-08T20:42:50.695-08:00OOP, UML and MVC, What? and Why?As a developer, there comes a time when you start to get deeper and deeper into learning new ways of writing and structuring your code. I've been doing TONS of research and playing around with some techniques that are of coarse well known but to be honest I'm not exactly sure who really uses them, at least and unfortunately many co-workers are quite clueless when it comes to these techniques.<br /><br />The techniques that I am referring to are OOP (Object Oriented Programming), UML (Unified Modeling Language) and MVC (Model View Controller) which is basically a way to organize your stuff in a manner that you should already be doing in the first place.<br /><br />First off, OOP. I can't be the only one that had a tad of trouble getting their foot into the door and actually understand what on earth this was and why it is so important when developing basically anything and everything from simple show a name applications to more complex applications where there are many functions firing off at the same time.<br /><br />OOP is a beast and once you get it, you know because it hits you like a train, making you think, OMG I can do this and yes, yes I do understand it.<br /><br />At first I began writing some functions thinking I was writing OOP even though all I was doing was creating a bunch of functions and firing a main function instead of creating any classes which means I was still technically writing procedural code, yucky.<br /><br />But that one day came and I got hit by that train that made me say, Oh jeez I was doing this all wrong but thankfully I get it now and will continue to do it the right way.<br /><br />Now for UML. This isn't exactly all that new to me in a sense because when I was handed a project I always always always created a simple diagram which included needed functions, database tables with row names, foreign keys and so on.<br /><br />Thing is, I'm not sure anyone even uses this technique to build their applications and by all means if you do please let me know.<br /><br />Finally MVC which let's be honest, you should be doing this technique no matter what because it makes sense. Like OOP, there are many developers that might have trouble understanding what this is and why they should really even bother with it. The truth is that you should and it helps greatly when applications start to get larger in scale and you need to scale your application with ease and ridden the possibilities of introducing big nasty bugs into them.<br /><br />But what is MVC? It's simply a way to slice up the code for your application into sections that make sense. Model, View and Controller, which should be obvious of what they do but instead of me trying to explain it all, try reading the Wiki on it <a href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller">here...</a><br /><br />Enough of my ramble, I plan on tossing up a few examples of some OOP concepts in some future blogs in a few different programming languages.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com1tag:blogger.com,1999:blog-4640305701285636071.post-61217640269871698422009-12-30T09:34:00.000-08:002009-12-30T10:05:02.285-08:00Goals for 2010Every year I make a list of goals to accomplish and lord knows that I have gotta try and do something because 2009 wasn't exactly a great year for myself.<br /><br />5 Reasons 2009 sucked:<br /><ol><li>Left a bad paying job for a relatively better paying job and went back to the bad paying job</li><li>Lost 2 cars which led to trouble all over the place</li><li>Lost a chance to work for a great company but lost that due to the economy</li><li>Both brother in laws got into a bad car accident but thankfully survived</li><li>Health insurance went up dramatically due to economy</li></ol>5 Reasons 2009 kicked ass:<br /><ol><li>Saved a ton of money to help get out of debt</li><li>Took a trip to the Carolina's to meet gf's grandparents and see brother in law</li><li>Went to first developer conference. Was awesome!</li><li>Bought a newer car</li><li>Finally got my laptop after saving for way too long</li></ol>Goals for 2010 (not in any specific order):<br /><ol><li>Secure a position with a company that pays their developers more then Walmart<br /></li><li>Continue to learn the languages that I have been studying</li><li>Get a car that doesn't need it's oil checked ever other day</li><li>Work harder at getting freelance service known</li><li>Complete CMS Leo project</li><li>Get married to my fiance of 13 years.</li><li>Buy a house, buy a house buy a house</li><li>Learn to relax a bit more and less stressed out<br /></li><li>Somewhere in there I'll also try and find time to drop a few pounds<br /></li></ol>My fiance was told to burn a certain candle for good luck in the following year and she did. Hopefully this will FINALLY be our year to succeed and accomplish what we've been trying for many years now.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-1657942182719524282009-12-29T10:09:00.000-08:002009-12-29T10:41:58.652-08:00Get those images out of PowerPointEvery now and then as a developer you get handed a disk or and email sent to you and someone says, here are those images that you need for the bla ba bliche project.<br /><br />Problem is that once you toss the disk into the drive or open the email to get the files, all you see is a damn PowerPoint presentation. You may think at first that you're gonna have to save each image individually and before you even try to do something as silly as that give this little trick a go and see how you make out. It just may save you an hour or two or more of nonsense.<br /><br /><ol><li>Get Open Office <a href="http://www.openoffice.org/">here</a> and install that badboy once it's done downloading.</li><li>Open the PowerPoint file with Open Office.</li><li>Save the file as ODF Presentation .odp</li><li>Now give the file a new extension of .zip</li><li>You should now see a zip file, so how about we open it.</li><li>Extract all the files in the zip file or just the Pictures directory.</li><li>Your photos should now be available to you in the Pictures directory.</li></ol>Hope this works for you as it did for me. Found this out just by messing around trying to get some images from out of PowerPoint without saving them one by one.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-53474637687836806502009-12-27T15:41:00.000-08:002009-12-27T16:13:01.007-08:00Love of a new languageMore than recently I've been having a go with the <a href="http://www.python.org/download/releases/3.0/">Python</a> programming language and must admit that I absolutely love the language and now that I received <a href="http://www.amazon.com/Programming-Python-Complete-Introduction-Language/dp/0137129297/ref=sr_1_1?ie=UTF8&s=books&qid=1261957216&sr=8-1">Programming in Python 3</a> by Mark Summerfield I feel that I can go full force into learning this wonderful language that doesn't seem to be going anywhere, anytime soon.<br /><br />When I first heard about the Python language I remember watching a tutorial on YouTube where a Googler rambled on about some real intense programming stuff with Python and of coarse I had no clue what he was talking about at first. Of coarse this was before I started to dive into the OOP club and might not have even completed my first year of hands on experience and still writing procedural code.<br /><br />Once I started getting the general idea about how to do the OOP thing I began to get more and more curious about other programming languages and thought it might be a good time to do a bit of fiddling with Python since it seems to be a very popular and unique language.<br /><br />The syntax is very easy to read and understand and actually takes less code in some cases compared to other languages such as PHP, Java and C#, for instance:<br /><br />PHP, C# and Java - if(apples == "nom nom nom") { // do other stuff }<br />Python - if apples == "nom nom nom"<br /><br />And of coarse the data type thing that needs to be done in some languages, but not in Python, no need to define your data types there.<br /><br />Basically, you can do anything and everything with the Python language that you can do with all the others with the possibility to write less code along the way also. Now, don't get me wrong, I don't have a care in the world how much code I gotta write but sometimes certain things just click and the Python language is doing just that with my brain at the moment.<br /><br />P.S. - Thanks for reading this ramble and I am VERY aware that it's not at all informative :^)<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com1tag:blogger.com,1999:blog-4640305701285636071.post-24863712496950540932009-11-29T11:06:00.000-08:002009-11-29T11:25:45.492-08:00CMS Project UpdateBack in the very beginning of September I Blogged about a Content Management System project of my own that I have been trying to get started for a while now.<br /><br />For a quick update, I have been working REALLY hard working on templates, tons of CSS and of coarse the list of features that seem to never stop growing (shocker there huh?).<br /><br />Thus the reason that I must tell myself to calm down with the feature list and just get the base of the system down so I can continue to add onto it while I have a basic beta out for others to fiddle with and make their judgments.<br /><br />In my previous Blog I also stated that I would be developing my CMS in ColdFusion but that has changed for the main reason of popularity. I know I know ColdFusion is a great language and I'll probably get hit with a lot of CFers's stating why I should use ColdFusion even though I haven't stated the language that I will be developing in.<br /><br />Originally my CMS was suppose to be developed in ColdFusion as I stated above until I started to do some fiddling with Python and Django. Then I started developing a lot in PHP, I mean more than I have ever done before and started to feel more comfortable coding with PHP than ColdFusion. I can't believe I'm gonna say this but I actually liked developing in PHP more then ColdFusion. I blame this on the straight month of work that I was handed in no other than PHP.<br /><br />I am not saying goodbye to ColdFusion at all, just saying sorry ColdFusion, not this project, maybe the next one.<br /><br />So, PHP it is and I accept all the challenges that I come across during the development of my CMS project.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-70559642635621664052009-11-29T10:24:00.000-08:002009-11-29T11:02:12.397-08:0099 Bottles Of Beer On The Wall In 7 Different Programming LanguagesYou might ask right away, why on earth would someone care about how to program 99 Bottles Of Beer On The Wall in 7 different languages? There's a few reasons, really!<br /><br />Maybe, just maybe someone would like to compare the source files and see what the differences are between them, if any at all.<br /><br />Maybe, programmers can use it to bite and pick at each others programming language that they specialize in to say things similar to: This language is better because bla bla bla. Or that language is better because it knows when I need a fresh cup of coffee.<br /><br />But, mainly it's for myself to show all possibly employers that my passion for programming is real and that I not only wanna know how to do something in one language but as many languages as possible.<br /><br />Let's face it, if you wanna be successful as a developer you MUST know more than one programming language or hope that you're a lucky one that lands a job only working on a single web site or application (sooo rare).<br /><br />That's why I took the time to write some super simple scripts that print out the tune of 99 Bottles Of Beer On The Wall in 7 different programming languages.The programming languages that I coded this in are listed below and feel free to click the language to download the source or click "All" to obviously get all the source files.<br /><br /><ol><li><a href="http://dbt.sytes.net/download/bottlesofbeer/PHPBottlesOfBeer.zip">PHP</a></li><li><a href="http://dbt.sytes.net/download/bottlesofbeer/COLDFUSIONBottlesOfBeer.zip">ColdFusion</a></li><li><a href="http://dbt.sytes.net/download/bottlesofbeer/JAVABottlesOfBeer.zip">Java</a></li><li><a href="http://dbt.sytes.net/download/bottlesofbeer/JAVASCRIPTBottlesOfBeer.zip">JavaScript</a></li><li><a href="http://dbt.sytes.net/download/bottlesofbeer/PYTHONBottlesOfBeer.zip">Python</a></li><li><a href="http://dbt.sytes.net/download/bottlesofbeer/ASPNETCSBottlesOfBeer.zip">ASP.NET C#</a></li><li><a href="http://dbt.sytes.net/download/bottlesofbeer/ASPNETVBBottlesOfBeer.zip">ASP.NET VB</a></li><li><a href="http://dbt.sytes.net/download/bottlesofbeer/7LanguagesBottlesOfBeer.zip">All</a></li></ol>Oh Yea!, This was the first time I have ever written a line of Python code and kinda liked it :^)<br /><br />Thanks and I hope that everyone digs this post.<br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-61700539088098142992009-09-03T12:04:00.000-07:002009-09-03T12:14:43.415-07:00What IDE are you?As a programmer, you probably have a specific IDE(Integrated development environment) that you absolutely love and feel comfortable with unlike no other.<br /><br />So what IDE takes your heart away?<br /><br />Dreamweaver<br />Eclipse<br />ColdFusion Builder<br />NetBeans<br />Zend<br />Aptana<br />Visual Studio<br />Notepad++<br />TextEdit<br />BBEdit<br /><br />That's just a small slew of IDE's available to us developers. So what I'm asking is....what's your favorite for what ever you may be developing?<br /><br />Myself!<br />CFML - ColdFusion Builder<br />PHP - NetBeans<br />ASP.NET - Visual Studio (shocker there)<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-29004095460459947862009-09-03T11:25:00.000-07:002009-09-03T11:59:15.330-07:00Generating numbers with Date and Time using ColdFusion and PHPRecently I was asked to create a simple script either in ColdFusion or PHP that would generate a unique number, so I said why not have some fun using date and time and code it in both languages. Both scripts will generate a number containing of 23 numeric characters. Took me about 5 minutes to get everything coded and tried to keep the examples in both ColdFusion and PHP as similar as possible and I'm sure there's an easier way to do this. So please don't say Hey! you can do this and that and this and that lol.<br /><br />Both scripts will generate a number similar to 42453609032009061855012<br /><br />ColdFusion:<br /><cfset d = Now()><br /><cfset day_week = DayOfWeek(d)><br /><cfset day_year = DayOfYear(d)><br /><cfset week_year = Week(d)><br /><cfset month_year = DateFormat(d, "mmddyyyy")><br /><cfset time_hour1 = TimeFormat(d, "hhHHmmss")><br /><cfset ts = TimeFormat(d, "tt")><br /><br /><cfswitch expression="#ts#"><br /><cfcase value="am"><br /> <cfset time_span = 1><br /></cfcase><br /><cfcase value="pm"><br /> <cfset time_span = 2><br /></cfcase><br /></cfswitch><br /><br /><cfset date = "#day_week##day_year##week_year##month_year#"><br /><cfset time = "#time_hour1##time_span#"><br /><cfset date_time = "#date##time#"><br /><br /><cfoutput><br />#date_time#<br /></cfoutput><br /><br />PHP:<br /><?php<br />$d = date("a");<br />switch ($d) {<br /> case "am":<br /> $day_time = 1;<br /> break;<br /> <br /> case "pm":<br /> $day_time = 2;<br /> break;<br />}<br /><br />$date_time = "wzWmdYhHis";<br />$dt = date("$date_time$day_time");<br /><br />echo $dt;<br />?>Blue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com2tag:blogger.com,1999:blog-4640305701285636071.post-14927963737308435692009-09-02T18:02:00.000-07:002009-09-03T16:27:12.998-07:00Set up a WAMP and ColdFusion Testing Server Super Fast<p>Ever need to set up a testing server on a local machine during the development of a project or possibly even studying. I know I have and here's what just may be the quickest way to get up and running in less than 15 minutes on a Windows machine. Although it may look like a lot of instructions, the process actually goes pretty quick.<br /><br />The server configuration will contain the following:</p><ol start="1" type="1"><li>Apache</li> <li>MySQL</li> <li>MySQL GUI Tools</li> <li>PHP</li> <li>ColdFusion 8 </li></ol><p>First thing to do is download the following:</p><ol start="1" type="1"><li><a href="http://www.wampserver.com/en/">WAMP</a></li> <li><a href="http://dev.mysql.com/downloads/gui-tools/5.0.html">MySQL GUI Tools</a></li> <li><a href="http://www.adobe.com/products/coldfusion/">ColdFusion 8 Developer Edition<br /></a></li></ol><p>Note: To get ColdFusion, you must register with Adobe or use an existing account that you have with them.<br /><br />WAMP Installation:<br /></p><ol start="1" type="1"><li>Open the WAMP executable and click next to begin the set up.</li> <li>Select the radio button indicating that you accept the agreement.</li> <li>Accept the default location to install WAMP to.</li> <li>Don't worry about creating any shortcuts, and click next.</li> <li>Click the install button and WAMP will then be installed on your system.</li> <li>During installation you will be asked for SMTP, email information and for a default browser.</li> <li>Once set up completes click finish to launch WAMP.</li> <li>Apache should now be running but WAMP Server will not be online. to put WAMP online, click the WAMP Server icon down by the system tray and select "Put Online".</li> <li>Now Apache MySQL and PHP should be up and running.</li></ol><p> MySQL GUI Tools Installation:</p><ol><li>MySQL GUI Tools are pretty simple to install. Just execute the installer and follow the screens. You basically will just be clicking through the wizard until installation is complete.</li><li>Once the installation has complete the following 2 main applications should be installed, MySQL Admin and MySQL Query Browser. </li></ol><p>MySQL User Accounts and Privileges:</p><ol><li>By default there is no password set for the root user account which is a security risk, therefore a password must be set for this account.</li><li>Click the WAMP Server icon located in the system tray and select Localhost.</li><li>Under “Tools” select the “phpmyadmin” link to go to the PHPMyAdmin page.</li><li>On the main top menu click the Privileges link.</li><li>Click the edit button for 127.0.0.1 host root account.</li><li>Now locate “Change password” and enter a password in both fields and click the corresponding “Go” button. </li><li>Now go back to the Privileges page once again and this time click the edit button for the localhost root account and do the same as before. Locate “Change password” and enter a password in both fields. The password should be the same as 127.0.0.1 root account. </li><li>Now click the “Home” button on the left sidebar. You should receive the following error: “#1045 - Access denied for user 'root'@'localhost' (using password: NO)” This problem can easily be corrected so not to worry. </li><li>Locate the location where you installed WAMP. The default location is C:\wamp. </li><li>Now enter the “app” directory then the phpmyadmin directory. </li><li>Now locate and open the config.inc.php file with any text editor. </li><li>We are looking for line 16 (may be different), but the code should read $cfg['Servers'][$i]['password'] = ''; </li><li>Between the single brackets, enter the password you entered into PHPMyAdmin ex: $cfg['Servers'][$i]['password'] = 'mypassword'; </li><li>Save the file and refresh the PHPMyAdmin page. The error should now be gone and be able to view the PHPMyAmin page. </li><li>Finally... we need to create a new user because using the root user account is a big security risk and highly fround upon. </li><li>Go back into the Privileges section and click on the “Add a new user” link. </li><li>For “User name”, just enter a username of your choice leaving the select menu as it’s default value. </li><li>Ignore the “Host” select menu and continue on to the “Password” field. </li><li>Enter a password in the password field leaving the default value for the select menu. </li><li>Make sure to Re-type the user password in the next field labled “Re-type”. </li><li>Now on to the Global privileges section. Here we can give the new user permissions to execute SQL commands. I recommend just allowing the basics such as SELECT, INSERT, UPDATE, DELETE, FILE and CREATE unless you think you may need to run more commands. What I highly suggest is to leave the DROP command un checked for the reason that mistakes do happen. Meaning, you could create a database and some tables, populate those tables and execute the DROP command by accident. That would be very very……bad. Especially if you have hundreds or thousands or millions of rows in your tables. SO.....to be safe, just leave it un checked. </li><li>That should be it for setting up MySQL. You should now be able to either use PHPMyAdmin or MySQL Admin and MySQL Query Browser to make databases, tables and edit table content. </li></ol><p>Now for ColdFusion:</p><ol><li>Run the ColdFusion executable and wait patiently for the installation wizard to show (Could sometimes take 2 minutes or even longer to show). </li><li>Once the ColdFusion installation screen appears select the language of choice from the drop down and click OK to continue. </li><li>Click Next for the next screen and click the “I accept the terms of the License Agreement” radio button and click Next. </li><li>Select the Developer Edition checkbox and click Next </li><li>Accept the default configuration of “Server configuration” and click Next </li><li>Accept the default selected checkboxes for Subcomponents and click Next </li><li>Accept the default installation location for ColdFusion to be installed and click Next. </li><li>Click the radio button for “I accept the terms of the License Agreement” radio button and click Next. </li><li>No need to enter a Serial Number since we don’t have one, so just click Next. </li><li>Now to set up ColdFusion to run under the WAMP Server. </li><li>Click the Add button and leave the default of Apache selected. </li><li>Click the “Configuration Directory” button so we can find the location of the Apache configuration file. </li><li>Locate the default location where you installed WAMP, the default is C:\wamp and navigate through the following directories. bin\apache\apache”version number”\conf\ </li><li>Just select the conf directory and click the OK button. </li><li>Now click the “Directory and file name of server binary” button and locate the default location where you installed WAMP. </li><li>Now navigate through the following directories, bin\apache\apache”version number”\bin\ and select the httpd.exe and click select. </li><li>Click OK on the configuration window and click Next. </li><li>Now to choose where to extract the ColdFusion Administrator. Click the “Choose” button. </li><li>Locate the default location where you installed WAMP and select the www directory, click OK and then click Next to continue. </li><li>Enter a password for the ColdFusion Administrator and click Next. </li><li>Don’t worry about enabling RDS so just click Next. </li><li>Now click Install to run the ColdFusion installation. </li><li>Once the installation is complete, make sure the checkbox for “Launch the Configuration Wizard in the default browser” is checked and click Done. </li><li>Once the Configuration Wizard begins in the browser, enter the password you entered for the ColdFusion Administrator and click Login. </li><li>Now you wait for the configuration to complete……. </li><li>Once the configuration is complete, Click the OK button to open the ColdFusion Administrator. </li></ol><p>That should do it for this whole process of getting a testing server up and running in about 15 minutes. Feel free to comment on my instructions especially if I made a mistake somewhere.<br /></p><p>- Pete</p>Blue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com13tag:blogger.com,1999:blog-4640305701285636071.post-11482966615450732742009-09-01T17:36:00.000-07:002009-09-01T18:06:40.715-07:00Let's talk Content Management SystemsStraight to the point here... Content Management Systems. If you're a developer, it's almost a guarantee that you may have made some kind of Content Management System or CRUD at least twice in your career. If not then you're missing some key experience that you definitely need to succeed in the world of being a web developer. Doesn't matter the language you specialize in just that you have the ability to make a system where a client can manage their website them selves. Again, language choice doesn't matter. ColdFusion, PHP, C# or VB.NET, Python or even Rails. Just do it and you'll be very happy you have that knowledge under your belt.<br /><br />Now that I got that out of my system I'm probably gonna bore with the idea for my next personal project. Yep!!! A Content Management System. I've built many before but always to the vision of others not my own. I figure that it's time for me to do it the way I think a Content Management System should be built. With lot's and lot's of functionality and cool features that makes use of the amazing technology us devs have at our finger tips today.<br /><br />A while back I started a CMS called CMSLeo that I never got even close to completion (and can also be seen unfinished on my website :). But now is the time to get back into the game of developing this beast to completion and to my vision.<br /><br />The question on mind was to which language to program it in. ColdFusion or PHP?<br /><br />The ups for ColdFusion:<br /><ol><li>Easy and rapid development with very clean code management</li><li>Simple to upgrade and scale code</li><li>The best yet, an amazing community</li></ol><br />Now the downs for ColdFusion:<br /><ol><li>Big price tag for whomever wanted to use my CMS</li><li>Um.......... that's it</li></ol><br />PHP ups:<br /><ol><li>Very popular language</li><li>Open source language</li><li>Easy to get up and running</li><li>Huge community</li></ol><br />PHP downs:<br /><ol><li>Code tends to get messy</li><li>Community a bit temperamental</li><li>Possible long development time<br /></li></ol>As of right now I'm pretty much set on coding my CMS in ColdFusion mainly because of a CFML Engine called <a href="http://www.getrailo.com/">Railo</a>. <a href="http://www.getrailo.com/">Railo </a>is an open source project that will run ColdFusion code (CFML) and again, it's open source. In fact, I am thinking about developing my CMS completely under <a href="http://www.getrailo.com/">Railo</a>. Might be a bad idea might be a good one and I'm sure devs out there will put this idea down and of coarse some that will be all about the idea.<br /><br />Finally, when I plan a project I try to put myself into the everyday user's point of view and think how I can make my project extremely simple to understand and just jump right into using what I created. That's exactly what CMSLeo will be. One of the most user friendly Content Management Systems available today.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com2tag:blogger.com,1999:blog-4640305701285636071.post-44840460548261350572009-08-06T17:23:00.000-07:002009-08-06T17:34:11.692-07:00BWT ColdFusion Contact Form Component<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTxZsU7P__Rm6KxzjFb2zarRvTR9G5zGtt2QSSdLTupIJwXXm4qftT4VzHX2TH-AjHCPKLRLq2LKDXFf0V0H4s0siteObGmj5hZcM6rMdxPCoYR4_YNJDnNx5b8oSxRAiv7CdEdJ-2tHA/s1600-h/downloadsBWTContactForm.gif"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 152px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTxZsU7P__Rm6KxzjFb2zarRvTR9G5zGtt2QSSdLTupIJwXXm4qftT4VzHX2TH-AjHCPKLRLq2LKDXFf0V0H4s0siteObGmj5hZcM6rMdxPCoYR4_YNJDnNx5b8oSxRAiv7CdEdJ-2tHA/s200/downloadsBWTContactForm.gif" alt="" id="BLOGGER_PHOTO_ID_5367011262441650690" border="0" /></a><br />Very recently, I just release a ColdFusion Component that can be used for implementing a contact form very easily called BWT ColdFusion Contact Form. I know, not very imaginative with the name but who really cares.<br /><br />The purpose of this project is to help out those with no programming skill or programmers that just wanna put a form onto a website really fast without any headaches (I hope).<br /><br />So if your someone that has no clue where to start or a programmer that doesn't have the time to code a contact form with all the odds and ends. Please feel free to download the source <a href="http://dbt.sytes.net/?bwt=5&bwtid=7">here</a>.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-5527503040159164482009-06-14T09:38:00.001-07:002009-06-14T10:01:02.105-07:00Finally gone mobile<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGNBuwnf2YzuzqD0qvKf_080CgxU_0EZu2edUo9p7-O-uzeUu6haoA-ExVpKjale906GjO8JifiiU5pA7m5mO_jcR8Lfbx-HNMlINDyfHRAan1aRFwsKj-kgYJ3c18gfgtt-7o4UEpEnk/s1600-h/NM625EA_400x400.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGNBuwnf2YzuzqD0qvKf_080CgxU_0EZu2edUo9p7-O-uzeUu6haoA-ExVpKjale906GjO8JifiiU5pA7m5mO_jcR8Lfbx-HNMlINDyfHRAan1aRFwsKj-kgYJ3c18gfgtt-7o4UEpEnk/s200/NM625EA_400x400.jpg" alt="" id="BLOGGER_PHOTO_ID_5347223789042479282" border="0" /></a><br />So I finally got a laptop and no, no no it's not a Mac as I was planning. Do I really care, not too much, not even the least. It's a laptop and in fact a pretty damn nice laptop andddddd also an affordable laptop that I am quite happy with.<br /><br />The laptop I chose is HP's DV6 nice pretty and black not the dull boring and overly super shiny silver model. I picked this laptop at my local BJ's, because when I think of nice laptops, I think of BJ's, right. Not me, I was shocked and didn't even think to check out BJ's for a laptop. I went to all the obvious stores like 2 Best Buy's, Staples and some other who cares stores.<br /><br />I originally bought a laptop from Staples but returned it the very next day because I found the DV6 at BJ's along with the wireless router for $10 less. The price of the DV6 was $699 and the wireless router I picked up was $50.<br /><br />I'm not gonna go into the different pricing of all the stores I went to while looking for a laptop and wireless router but I will say that Best Buy was byyyyy farrrrr the most over priced and annoying, especially since I went to 2 different stores and didn't find a thing that met my needs. I will say this though, Staples did have a laptop that was selling for $450 while Best Buy was selling the exact same laptop for $550. But, the people at Staples were annoyingly pushy at trying to sell stuff that I did not need and yes I did make it very aware that I did not want anything else but the laptop. Just give me my merchandise and leave me alone or else I will hand you the product back and just walk out. Thank you!<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-78522865237009630432009-06-12T16:09:00.000-07:002009-09-01T18:42:51.852-07:00Some things aren't what they seemIn my last blog I wrote about a job offer that I accepted, I believe it's time for an update on how the job is working out. To be honest, I am not with the company anymore and it only took me a week to figure out that I was not digging the company for reasons that I will not be explaining.<br /><br />Well, you may think that I'm now jobless but that is not true at all. Before my first week was even over I contacted my last employer to see of they hired anyone for my position, and of coarse they were looking. So before they had a chance to get someone in I thought that it may be smart to contact them to see if they would take me back, especially since it was not even a week that I left. They did take me back thankfully and I've been back for about a week now.<br /><br />The point of this blog is to simply explain that sometimes some things are much more important than others and what might be an obvious choice may not be.<br /><br />I something doesn't feel right, go with your heart, it always tells you what the smart choice is.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-31970740068073723632009-05-30T09:51:00.000-07:002009-05-30T10:08:06.750-07:00Time to rebuildSo after only having my new site up for about 3 months or so I gotta retire it as a Freelance service because of this new job that I accepted. No big deal really, I'll just toss it into my portfolio like I've done before. The thing is that I had planned on turning my current site into a blog type site where I can post some tutorials and down loadable scripts in whatever programming language I feel.<br /><br />That's all fine and dandy but many of my geeky buddies are suggesting that I go the Word Press route but I'm not sure if that's the way I would like to go. I do know that it would be the more sensible route to take but I'm the kind of person that takes pride in the work that I do, and if I use an application that was already built, I won't have the glory of saying I did it. Don't get me wrong, I use scripts that I find here and there to cut development time in half like many other coders but by using an entire application is not my style.<br /><br />As for what language to use, I'm think PHP but it would be cool to do it in ASP.NET only for the reason that I like to use the technology that I'm currently learning and put it into action and use it as a learning curve. Problem with that is I am still a noob to the language of ASP.NET.<br /><br />My current site is coded in ColdFusion (which is flippin awesome) and would definitely program every site in CF if I could but in the real world it's not like that. In the real world, your given a site (sometimes a completed site) and asked to do it right there on the spot, basically asking you to learn this new language, right now. I've gone through this many times and find it to be one of the best ways to learn something new but can be rather frustrating at times.<br /><br />To end this babble, I'll just say, PHP? Or just go ahead and do the ASP.NET deal. I'm sure I'll do what I feel is best.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-49796399797386496672009-05-26T05:06:00.000-07:002009-05-26T05:22:17.726-07:00Freelance stuffSo, I'm gonna say that the site for my freelance work has been up for a bit now, not too long but a good amount of time I presume. It's looking like I may have to turn it into a portfolio site for myself do to the fact of this new job that I have acquired. It seems as though I will not be able to do any freelance work while working for this company which I do believe is nonsense but hey, it's an opportunity that I'm willing to going along with. But I will tell you one thing. Since I'm so proud of the work I did with my new site, you better believe that I will definitely be putting it into my portfolio. There's no way I'm gonna scrap all that work.<br /><br />As for my future plans, I'm thinking about doing what basically every programmer does; create my own personal blog site that will have scripts that can be downloaded along with tutorial videos.<br /><br />I know I know, please god not another programmer with a site with scripts that barely ever work and are a massive pain in the neck to get up and running. I look at it this way. If I feel like posting my scripts for free and allow people to download them for free then stop your belly aching and either download the free stuff or be on your way to another site to get some free stuff.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-9236559300195004832009-05-24T16:54:00.000-07:002009-05-24T17:16:34.075-07:00Gaining more knowledgeI'm sure that I can't be the only developer out there that has a language that they call their primary and preferred coding language. For myself, I would definitely say that I am a ColdFusion buff to the highest level. I love the stuff! Especially for it's ease and speed of development and a must is the simplicity of creating a database connection to virtually any major database application available today.<br /><br />But, the time has come where I feel the need to add another language to my brain. Which one to choose? Well, I am quite handy when it comes to ColdFusion, PHP, Classic ASP, SQL and how can we forget AJAX (it's pretty much a must these days). So, which language do I go forth with? There's actually an easy answer for this question and sorry to say but is includes learnign some Microsoft technology, and yes, I am not a big ole fan of MS stuff. But I have selected to start getting my hands dirty with some ASP.NET and of coarse there is reason behind this decision.<br /><br />Recently, I have been going on a couple interviews, all going rather well I must say and was offered a developer position at a local Web company. I did accept the offer for reasons that should be obvious without me saying and I'm definitely very interested to see how this company plays it's role in the community. The thing is that I was hired to develop in Classic ASP, PHP and of coarse do those little and not so little updates, upgrades and changes to existing web sites and application along with doing some developing in ASP.NET.<br /><br />Now, I am not one of those guys that shows up for an interview and lies just to get the job. If I don't know something I will make it very clear that I have no clue but if given the chance, I'm a quick learner and could definitely pick it up quick.<br /><br />That's why I have decided to make an attempt at ASP.NET. I also think I got everything I need to get a going with it. Download and install of silly ole Visual Web Developer 2008, SQL Server 2008, I have Dreamweaver still although I don't really use it too often because Eclipse and Aptana do the same stuff (and are FREE).<br /><br />That's about it, I got a new job and I hope it works out good (WOOT Me!!!).<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-28590183641175423592009-05-05T16:09:00.000-07:002009-05-05T16:23:35.583-07:00Haven't blogged in a while for good reasons<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://dbt.sytes.net"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 164px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKtslwgLHjlM2NKfu_PAdxVEzuqA9QSUGDstm-Js5v3kygNAT768cNdPCxBlQfNUIGb5HUjEfgjLZsYLMd_f20G5A-3KKtzGUc6_75OZ_wB9SkzzmUQSUFKrJPJeBeOvalJc5Itmz7skM/s200/newBWT.jpg" alt="" id="BLOGGER_PHOTO_ID_5332481223580018754" border="0" /></a>Well it's been sometime since I've written my last blogged, mainly because I've been very busy working on my new web site for my freelance service that I call <a href="http://dbt.sytes.net">Blue Web Techniques</a>. In fact, I can't remember when I got a site together as quick as I did with this one. I mean everything came to me unbelievably easy and I pretty much knew what I wanted right away instead of constantly pondering about small details.<br /><br />Some new features on my new site include, slick and simple navigation, live Twitter feed (not always about tech stuff), A tag cloud that is updated whenever someone does a search, a new search box that opens up in a light box, almost all new content that gets right to the point, a very basic contact form (no more non sense fields), Language Translation with the Google API, new portfolio content and I think that's about it, but of coarse, I'm always working on something so expect many more additions.<br /><br />I hope you like my new site, click <a href="http://dbt.sytes.net">here</a> to check it out.<br />I'm also more active than ever on <a href="http://twitter.com/bluewebtech">Twitter</a>.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-4861448777887705702009-03-04T11:04:00.000-08:002009-03-04T11:32:27.279-08:00Coldfusion Developer Pay Scale, Which is correct?I've been doing some mild research with pay scales from all over the web. Some from Career Builder, Pay Scale, and Monster, all of which probably get the most traffic as far as I know (Just a guess). Reason being that I believe that I am insanely under paid Coldfusion Developer. I think it's safe to say that I am not over exaggerating on this one bit because my yearly salary is no more than 31,000 a year. Not only do I develop in Coldfusion, I am also fluent in the necessary languages to develop web sites such as the obvious: HTML, CSS, and JavaScript. Not only that but I do in house tech work when needed. Again, I am also quite handy when it comes to putting together databases and codeing out the SQL for the applications.<br /><br />After saying to myself, man, I need to take a look and get a general idea of what I should be making. Just an estimated salary would even set my mind at ease. That's not exactly what happened after I took a look at some of these pay scales. To be honest, I was a bit shocked to see that the average developer salary is 52,197 a year. Now if I was getting that I would be able to pay my bills and not be living pay check to pay check.<br /><br />Don't get me wrong, I don't think I'm the best developer out there but I do know my stuff and I can and will code my brains out. I just wish I would get what I should be getting and hell, I would button my mouth up if I even got to 50,000 a year. I'm not a complainer, I just need the salary that should come with the position so I can take the next step in my life.<br /><br />Linkages for pay scale sites:<br /><a href="http://www.payscale.com/research/US/Skill=ColdFusion/Salary">Pay Scale</a><br /><a href="http://www.cbsalary.com/national-salary-chart.aspx?specialty=Coldfusion+Developer&cty=&sid=&kw=Coldfusion&jn=&edu=&tid=230409">Career Builder</a><br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-32018030569592140602009-03-02T06:51:00.000-08:002009-03-02T08:16:23.601-08:00Oracle Studies Day 2Since I'm stuck at home today because of a pretty hefty East Coast snow storm, I figured why not toss up a quick blog about the past 2 days of Oracle studying.<br /><br />Now, I have never touched Oracle until 2 days ago but I have done some SQL programming, and SQL is basically SQL where ever your using it so that wasn't the problem. Getting Oracle 11g up and running was a bit odd and very different than getting MySQL running and many tutorials available show you how to install Oracle but I couldn't seem to find any to show how to configure it.<br /><br />Here's a quick tutorial on how to get Oracle 11g up and running in no time:<br />1. Download your the proper version of Oracle <a href="http://www.oracle.com/technology/software/products/database/index.html">here</a> (Note: you must have a user account with Oracle to download the installer and I'm installing Oracle 11g on a Windows XP Professional machine with SP3)<br />2. After your download has completed, run the Oracle 11g setup.exe (Be patient, it's Java so it may take a bit to load up)<br />3. Once the Oracle 11g installer has appeared, untic the "Create Starter Database" checkbox and choose "Advanced Installation", then click next.<br />4. When the Oracle 11g installer appears again, choose"Custom" and click next<br />5. Now, Oracle will create a default location with the current Windows logged in user. You can change this directory name and also change the Software location name as well. Click next to proceed.<br />6. If all checks are successful in the following window, click next to proceed.<br />7. The new window will show tons of optional packages that you can install. Leave the default selections for now. If you find a need later to install a new package, it's easy to install it using Oracles Universal installer. Click next to proceed.<br />8. You should now see a window titled "Create Database". Tic the "Install satabase software only" radio button and click continue.<br />9. Finally, you should now see a summary of all to be installed. Click install and go get a cup of coffee for the reason that it may take sometime to complete the installation.<br />10. After your installation has completed without any errors I'm hoping. You now need to create a listener.<br />11. To create a listener, Click Start and find your Oracle installation, and go to listing Configuration and Migration Tools and choose Net Configuration Assistant.<br />12. Once the Net Configuration Assistant has loaded, leave the default of "Listener configuration" selected and click next.<br />13. Leave the default of "Add" selected and click next.<br />14. Here's where you give your new Listener a name. Name it anything you wish and click next.<br />15. Now select the protocol type of TCP and scoot it over to the selected protocols box and click next.<br />16. Leave the default port of 1521 and click next.<br />17. Finally, leave the default of "No" selected and click next.<br />18. You now have a listener, now you can create a Local Net Service Name by using the "Net Configuration Assistant" once again.<br />19. Once you have loaded the "Net Configuration Assistant" choose "Local Net Service Name Configuration" and click next.<br />20. Click "Add" and click next.<br />21. Give you service name a name and click next.<br />22. Leave the default of TCP selected and click next.<br />23. Now enter your hostname by either using localhost, 127.0.0.1, or your static ip address if thats what your using and click next.<br />24. Now Click the "Yes, perform a test" radion button and click next.<br />25. Now, my test came back as a failure but everything is working just fine. Click next or finish to complete the wizard.<br />26. Now that you have all that is needed to get started. It's now time to try and login to Oracle by creating a new connection using the SQL Developer.<br />27. Click start and go to your Oracle installation and go to list "Application Development" and select "SQL Developer".<br />28. Once the SQL Developer has loaded, right click "Connections" and select "New Connection"<br />29. Where "Connection Name", enter a name for this connection<br />30. Now you need to enter a username and password. You can either user the "system" user and the password you provided during installation or create a new user. To create a new user open SQL*Plus and enter system as the username and your password to login to SQL*Plus. Enter the following command CREATE USER new_user IDENTIFIED user_password;. Where new_user is your new username and where user_password is the new users password. Hit enter and your new user should be created. Now you need to edit permissions for the new user. Enter the following command GRANT connect, resource TO new_user and hit enter. You should be prompt with a granted line in SQL*Plus.<br />31. Now back to SQL Developer, enter you new login criteria into the Username and Password fields.<br />32. Leave the Role set to default<br />33. Leave the connection type as the default of Basic<br />34. Enter your hostname localhost, 127.0.0.1, or a static ip address<br />35. Leave the default port of 1521<br />36. Select "Service Name" and enter the service name you created earlier<br />37. Click "Save" and then click "Test"<br />38. If your test status is "Successful", you will be able to login to you new connection<br />39. If a failure occurs, double check all your settings and previous configuations<br /><br />It may seem like a lot of work but its really not that bad and shouldn't take too long to get Oracle 11g installed and configured. Hmmm, maybe I'll create a tutorial video on this one.<br /><br />Hope this helps anyone and please feel free to leave me comments.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-8583189778150243102009-02-23T07:17:00.000-08:002009-02-28T09:27:35.612-08:00Getting in deep with some Oracle studying<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1BcUx1u9ahLy0jxXdWXhi3xrtl7d9hJVjmPZpPfTrqA1p-hEu-WhH0210Q4p_AKfSMq1ig8MOl8hNNXa2fnoD94Frm31JmFDyHicSpbwaUWczeQvym9HDQixuNTGbkG8adxZ6sAAyCF4/s1600-h/400000000000000096719_s4.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 150px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1BcUx1u9ahLy0jxXdWXhi3xrtl7d9hJVjmPZpPfTrqA1p-hEu-WhH0210Q4p_AKfSMq1ig8MOl8hNNXa2fnoD94Frm31JmFDyHicSpbwaUWczeQvym9HDQixuNTGbkG8adxZ6sAAyCF4/s200/400000000000000096719_s4.jpg" alt="" id="BLOGGER_PHOTO_ID_5307900704848274386" border="0" /></a><br />Lately I've been doing a very large amount of database work and SQL programming. Thus the reason I have decided to drop what I have been studying (I'm a Java newbie) to go full strength with studying Oracle PL/SQL. Why Oracle? Simply answered would be that when I got out of school and was working hard to find a company that would hire a noob. I like many others was getting attacked by all the head hunters and what I always told them was that I am interested in a job where I can do some Oracle work and I always got the same response, "If your just out of school, you're not ready for Oracle". Though this was definitely correct, I now believe that I'm ready to get my feet wet with some serious database programming.<br /><br />Today, I FINALLY received my Oracle book from Amazon. Though I do know SQL, it could always be better so I decided to start out with "Oracle Database 11g SQL, Master SQL and PL/SQL in the Oracle Database". I know it's a saturday and I also know the weekend is the time to let loose and relax, but I am actually excited to dig into this book as soon as I can, so being the geek I am, I'll probably jump right in today.<br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/OiZKUx4qlx8&hl=en&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/OiZKUx4qlx8&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>Blue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-75759792863993329712009-01-15T06:16:00.000-08:002009-02-17T16:12:39.251-08:00Google Language API Round 2<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwO5L3vuXJG562yPAdS-y9Mnn1N8B5fdcaBRWeV5tj6NdqgG_bH_mC1eEQtWDEmluIbIqdgVFR85gGdR5xJw6m3fqcq7QpLRbYrzu2rnBXN1gZpHYFZDw4eGvwjZf002Sqi8VpmhDr4S0/s1600-h/jquery-logo.gif"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 133px; height: 133px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwO5L3vuXJG562yPAdS-y9Mnn1N8B5fdcaBRWeV5tj6NdqgG_bH_mC1eEQtWDEmluIbIqdgVFR85gGdR5xJw6m3fqcq7QpLRbYrzu2rnBXN1gZpHYFZDw4eGvwjZf002Sqi8VpmhDr4S0/s200/jquery-logo.gif" alt="" id="BLOGGER_PHOTO_ID_5293554434799350626" border="0" /></a><br />Just a few days ago I Blogged about Google's Language API having character limitations which kind of makes the API almost useless to those with larges amounts of copy on their pages, say much more than 5000k characters.<br /><br />Now after a bit of research and "farting" around with things, I found a solution that is available using today's amazing Ajax libraries.<br /><br />JQuery, which just may be (in my eyes) the top dog of all the Ajax libraries available to the public with an Open-Source MIT-License has a tranlation plug-in available which can be found right here as well as some how to use it information along with bug issues and fixes. If you have any type of experience working with JQuery, you probably know how easy it is to develop some incredible web application features.<br /><br />Here's what you need to do so you can implement Google's Language API and JQuery's Translation Plug-in onto your web site.<br /><br />1. Start off by grabbing the zipped files <a href="http://dbt.sytes.net/lib/LanguageAPI.zip">here</a>.<br />2. Create a new folder some where within your site or even create a new site directory.<br />3. Now create another directory for all the JQuery and unzip Language API into the newly created directory.<br />4. Now create a new page (HTML, Coldfusion, PHP, JSP or whatever you wish) or duplicate an already existing page within your web site so you can play around with the API.<br />5. Include all 4 scripts into the head of your page:<br />6. Now add a bunch of text to your page and I mean a bunch.<br />7. Pick a place for the language selector to be put and add a div with an id of jq-primaryNavigation.<div id="jq-primaryNavigation"></div>8. Finally save your work and give it a go. If all goes as planned you should be able to translate any text inside the body of your web site just by selecting a language from the select list and have the selected language be remembered throughout the visit of your web site until your browser session is ended.<br /><br />I found a couple things that put a cripple on both, Google's Language API and JQuery's Translation Plug-in.<br />1. This one actually goes along with many other Ajax Libraries. If you still use Adobe GoLive, don't even bother using any of the JavaScript features or scripts that GoLive generates for you. It just clashes with anything and everything.<br />2. Stay away from the menu maker widget called Menu Machine which again, is a plug-in for GoLive and again, causes all kinds of trouble. It's just a good idea to stay away from GoLive NO MATTER WHAT!<br />3. Google say's that you may need to have the meta equiv="Content-type" content="text/html; charset=utf-8" block in your source although it should be there in any sense.<br /><br />I believe that's it! Hope I didn't forget anything. But if I did, please feel free to correct me as I'm sure all will do anyway and <a href="http://esind.com/">here's</a> a working example for all to see and fiddle.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0tag:blogger.com,1999:blog-4640305701285636071.post-76472198384431272332009-01-15T05:48:00.000-08:002009-01-15T06:16:09.985-08:00The job that got awayBack in October of the recently archived 2008 I Blogged about trying to find something better, and in fact I "think" I did. After starting the hunt for a better something I came across what seems to be an amazing amount of openings for the price that I am in desperate need for. Some of these positions were out of the New Jersey range which would be nice but not really needed unless it was definitely something worth while. Some positions were located in South Carolina, Ohio, Chicago, Pennsylvania (Home), Virginia, and all the way to the top of the U.S. in Maine. Loving the cold weather and being fluent in the language of Philly, I would definitely call myself an East Coast guy.<br /><br />As for finding somewhere nice to go, I thought that I had found the right place for me to call home and possibly even grow stronger in my career but I am gonna have to say that unfortunately I'm thinking it has all fallen through. Maybe I'm not the guy that they were looking for after all or maybe, just maybe this whole rotting economy deal is having an affect on this position.<br /><br />All and all, I'm not going to let the stressing economy take over my career. The only thing that I can really do is just keep looking just like every other person in my position and I understand that very well.<br /><br />- PeteBlue Web Techniqueshttp://www.blogger.com/profile/00269577276737498522noreply@blogger.com0