Category Archives: Web Design

Design To Website, Blog How To Set Up, Google Update Pagerank, Google Crawl, Free Submit Site

Java Video Tutorial 45

Java XPATH Video TutorialI received a bunch of emails asking me to make a tutorial on Java XPath. I guess you liked my previous XML XPath tutorial?

XPath can be used to easily grab data from an XML file and into your Java code. I’ll cover how to write to an XML file the easy way in my next tutorial on JDOM2.

All of the code follows the video, and it is heavily commented to help you learn.

Continue reading Java Video Tutorial 45

Java Video Tutorial 44

Parse XML JavaAfter I made my XML Video Tutorial, you asked me to show you how to parse XML with Java. So, that is what I’m doing in this tutorial.

I wasn’t sure how much to cover, because I could literally create a 5 part series on this topic. I decided to cover the basics in the video and provide another example in the code below.

If you want to see more, tell me and I’ll cover more on parsing XML with Java.

Continue reading Java Video Tutorial 44

XML Video Tutorial 7

XML Schema TutorialHere I end my XML Video tutorial by covering complex types, sequence, groups, and a ton more! I also show you how to design schemas and XML files using the Eclipse design tools.

If you missed the past tutorials, here they are based on topic: XML Video Tutorial, XSL Video Tutorial, XPATH Video Tutorial, DTD Video Tutorial, Entity Video Tutorial and part 1 of my Schema Tutorial.

All of the code from the video and more follow the video.

Continue reading XML Video Tutorial 7

XML Video Tutorial 6

XML Schema Video TutorialIn part 1 of my XML Schema video tutorial I introduce you to XML schema files. This of course is a continuation of my XML Video Tutorial.

I talk about schemas, namespaces, the different data types available, how to restrict the data, enumerations and much more.

I thought it would be best to break up this sometimes confusing subject. Use the code below to better understand what I’m doing.

Continue reading XML Video Tutorial 6

XML Video Tutorial 5

XML Entity Video TutorialIn this part of my XML video tutorial, I will cover how to use an entity. I’ll also show you how to combine XML, DTD and XSL files.

You can use an entity to create shortcuts in your DTD files. You create personal codes like those built into XML like &lt; is replaced with <.

Through using these codes you’ll be able to pull data either from within the DTD file, or from external files. All of the code follows the video.

Continue reading XML Video Tutorial 5

XML Video Tutorial 4

DTD Video TutorialIn this part of my XML Video Tutorial, I cover Document Type Definitions (DTD). DTDs are used to define the markup for your XML files.

We use DTD files to make sure data is valid and so multiple people can work together in a standardized way.

It sounds really complicated, but you are just defining what elements are required in the XML file and what type of data each element must have. The code after the video will help you learn.

Continue reading XML Video Tutorial 4

XML Video Tutorial 3

XML XPATH TutorialThis is a massive tutorial! It could be called a xpath tutorial / xml Template tutorial / XSL Video Tutorial. I cover all of those topics and a whole bunch more.

I’ve also spent a bunch of time looking for common questions about XML and have included those answers in this XML Video Tutorial.

If you missed part 1 of my XML Video Tutorial, check it out first. All of the code follows the video and it’s heavily commented to help you learn XML.

Continue reading XML Video Tutorial 3

XML Video Tutorial 2

XSL Video TutorialIn part 1 of my XML Video Tutorial, I covered the basics of creating an XML file in Eclipse. In this tutorial, I teach you how to use eXtensible Style Language (XSL).

I can’t even briefly cover everything in this tutorial. Suffice to say, I show you how to do just about anything you’d ever want to do with XSL. At least I covered everything I could fit in a 15 minute video.

Use the code below to help you better understand XSL.

Continue reading XML Video Tutorial 2

XML Video Tutorial

XML Video TutorialI recently asked what tutorial you’d like to see next. The most popular request was for a new XML Video Tutorial. So, since I can make this pretty quickly I decided to cover XML now.

When you start learning XML it seems very simple. That however changes very quickly. In the next few tutorials, I’ll do my best to make learning XML much easier.

The code that follows the video will help you learn.

Continue reading XML Video Tutorial

Java Video Tutorial 43

Java Server Pages Video TutorialHere is part 1 of my Java Server Pages video tutorial. To completely understand everything you need to see my Java Servlet Video Tutorial.

Unlike Java Servlets a JSP file allows you to easily co-mingle HTML, JavaScript and Java code all in one file. You do that by placing different types of Java code in special brackets.

It sounds harder than it is and after this video you’ll be writing your own JSPs. The code follows the video to help you learn.

Continue reading Java Video Tutorial 43

Java Video Tutorial 42

Java ServletsIn this part of my Java Video Tutorial, I continue what I started in my Java Servlet Video Tutorial. If you haven’t seen it, you need to before you can try this code out.

I’ll show you how to pass form data to a Java Servlet using both the GET and POST method. I also cover the web.xml file and much more.

The code follows the video, to help you learn. Also vote on what my next tutorial should be on below.

Continue reading Java Video Tutorial 42

Java Video Tutorial 41

Eclipse ServletsIn this part of the Java Video Tutorial, I’ll show you how to make Java Servlets in Eclipse.

I’ll cover how to set up Tomcat to work with Eclipse. I’ll also show you how to fix the restricted library error, how to set up Eclipse tool tips and more.

If the video is to fast, I list everything below step-by-step. All of the code also follows the video.

Continue reading Java Video Tutorial 41

Java Video Tutorial 40

Java JAppletI have received the following requests many times over the past week. Make a Java JApplet Tutorial. Show me how to turn your Personality Test into a Java application.

So, in this tutorial I will do both! I also provide a review of many things I’ve covered, while providing a few new tricks.

All of the code follows the video and it is heavily commented. If you struggle with learning anything the code will help you through.

Continue reading Java Video Tutorial 40

Java Video Tutorial 39

Java JEditorPaneIn this part of the Java Video Tutorial, I cover the JEditorPane Swing component. It allows you to both display rich text and HTML documents.

I also cover how to listen for events in JEditorPane, when users click on links for example. These events are handled by HyperlinkEvent and HyperlinkListener.

Because some people are having trouble with Eclipse, I also show how you can get Eclipse to do some coding for you.

Continue reading Java Video Tutorial 39

Java Video Tutorial 38

Java JTables Writing to a DatabaseIn my previous JTable Video Tutorial I showed you how to pull information from a database and work with it in a JTable.

In this tutorial I show you how to add and delete rows in a JTable that will then effect the database. I also cover allowing the user to change the database on a cell basis.

After this tutorial, you’ll be able to do anything with Java JTables.

Continue reading Java Video Tutorial 38

Java Video Tutorial 37

Java JTables MysqlIn this part of my Java Video Tutorial, I continue showing how to use JTables with MySQL. You’ll learn how to pull information from a database, add a row, delete a row, convert a String into a SQL Date and much more.

If you haven’t seen my Java Swing Tutorial watch it first. Part 1 of my Java JTable Tutorial should also be seen first.

I explain how to load the database below. I also have all of the code.

Continue reading Java Video Tutorial 37

New Riders MySQL Code

New Riders MySQL CodeWell over a decade ago, a book came out simply titled MySQL by Paul DuBois. Everyone I know learned about MySQL from this book.

I guess I mentioned in the past that I liked this book and ever since I get requests for the code from the book. I guess it isn’t available online anymore?

So, here I gather together all of the code in one place. So, I can just point people to it from now on 🙂

Continue reading New Riders MySQL Code

Java Video Tutorial 36

Java JTable TutorialI’ve been asked to make a Java JTable tutorial by many people. Today I’ll show you how to display database query results from my Sabermetrics Tutorial into a Java JTable.

I then cover most everything about Java JTables. How to display data into a JTable. How to change fonts in a JTable. How to change row height in a JTable. How to sort a JTable. How to align a JTable column and much more.

All of the code follows the tutorial and it has even more tricks.

Continue reading Java Video Tutorial 36

Baseball Sabermetrics

baseball sabermetricsPreviously I made a couple of Baseball Sabermetrics videos and it was a lot of fun. In this Sabermetrics tutorial I’ll cover a few of the Sabermetrics formulas I missed.

One question I received from a few of you was which team uses Sabermetrics most effectively. You’ll find that answer in the first query below named TTRC for Teams.

I also show how to perform many Sabermetric Pitching formulas below.

Continue reading Baseball Sabermetrics

Sabermetrics 3

Sabermetrics BaseballI continue covering some neat Sabermetrics formulas in this video. If you missed part 1 of my Sabermetrics Tutorial, check it out first.

I’m going to cover a few new complicated formulas including: Theoretical Team Runs Created, Batting Average on Balls in Play, Weighted On Base Average and more. I’m also going to show you how to easily save queries using views.

This tutorial has been a great deal of fun. All formulas follow the video.

Continue reading Sabermetrics 3