How to Program with Java Podcast show

How to Program with Java Podcast

Summary: Learn how to program using the Java programming language. This podcast will teach you step by step how to use the Java programming language to create your own applications or web applications! These Java tutorials are presented in plain English and explain all of the important Java programming concepts needed to excel in the field of software.

Join Now to Subscribe to this Podcast
  • Visit Website
  • RSS
  • Artist: Trevor Page: Java Guru | Programmer | Teacher
  • Copyright: © Crafty Codr Inc. 2024

Podcasts:

 The SQL Subquery | File Type: audio/mpeg | Duration: 48:11

The SQL Subquery Now that you’ve learned about SQL Joins, aggregate functionsand the group by keyword, it’s time we moved on to our final topic in our SQL tutorial series. Today you’ll be learning all about SQL Subqueries, how to use them and when you should use a SQL subquery. So, what is a subquery? First and foremost, let’s get the jargon out of the way. A subquery can also be referred to as a nested query. It’s just like having a nested if statement in your Java code. Essentially what you’re doing with a subquery is you are constructing a regular old query (select statement) which could be run all by itself if you wanted to, but instead of running it all by itself, you’re jamming it into another query (select statement) to give you more specific (filtered) results. What’s very important to note here is that the SQL subquery can almost always be re-written as a join with a whereclause attached to it. More info on this via http://howtoprogramwithjava.com/session49

 SQL Group By | File Type: audio/mpeg | Duration: 47:00

After having talked about all the SQL Aggregate functions, there’s one more topic that goes hand in hand with what we’ve already learned… The group by keyword. This particular keyword allows us to take a bunch of data and mash it all together into matching groups and then perform aggregate functions on those groups (like sum and avg). You might ask yourself why you’d want to “mash together” a bunch of data. The answer to this is best explained with an example, but let me try to put it in regular words before we jump into our example. Grouping data together allows us to look at aggregate data in relation to unique piece of data (or rows), a typical use case would be to group all the matching data together so you can get a count of the number of occurrences of specific data. An example related to grouping and counting could be a presidential election, you’ll have all the votes in a database and you’ll want to group that data together to get the total votes for each unique candidate... For more info, check out the show notes via http://howtoprogramwithjava.com/session48  

 SQL Aggregate Functions | File Type: audio/mpeg | Duration: 32:12

In today’s podcast episode you’ll be learning all about the aggregate functions that exist in SQL. What the heck is an aggregate function? Well that’s what I’m going to try and teach you today, and I promise, it’s not a difficult concept to grasp. Just think of an aggregate function as a method that you’re calling that will process data in your database and return a value. Obviously the returned value will depend on which of the aggregate functions you choose to use. So that begs an obvious question, what are the aggregate functions that we can use in SQL? I’m glad you asked, here’s the ones that I use all the time in MySQL: MAX MIN SUM AVG COUNT Okay, great! So now we know what the names of these functions are, now let’s see some examples of them in use!

 Database Joins | File Type: audio/mpeg | Duration: 57:26

There are three categories of joins that you can make use of in SQL:   Inner Join   Outer Join   Cross Join   But before we dive into the categories of joins, we first need to have an understanding of what a join really is. Joins are used in SQL to bring together all the relevant data from multiple database tables.  Remember that we've broken data down into multiple tables and established relationships between the tables.   ... More via show notes: http://howtoprogramwithjava.com/session46

 Enforcing Database Relationships Part II | File Type: audio/mpeg | Duration: 55:31

In this SQL tutorial episode/post we’re going to learn how to enforce our SQL relationships that we’ve already learned about. We’re going to be tackling the one-to-one and many-to-many relationships and we’re going to learn how to write the code to enforce these relationships in our database. As outlined in the podcast, we are going to be focusing on the many-to-many relationship with the author and bookexample. Remember that one author can publish many books, and one book can be written by many authors. This indicates a many-to-many relationship and I’m going to show you how to enforce that relationship in your database...   Show notes available via http://howtoprogramwithjava.com/session45

 Creating Database Tables in MySQL | File Type: audio/mpeg | Duration: 01:02:19

You’ve learned all about how to create sql queries to read, write, update and delete data… but you haven’t yet learned how to create the tables where you’ll be doing the reading, writing, updating and deleting. So that’s what today’s podcast is all about, be sure to click the play button above this to listen to the show and then follow along with the notes via http://howtoprogramwithjava.com/session44

 Database Relationships: Many-to-Many and One-to-One | File Type: audio/mpeg | Duration: 44:01

Show Notes available via: http://howtoprogramwithjava.com/session43   In this post we will be expanding on the topic of database relationships and touch on two that are less common but just as useful. Many-to-Many Relationship The many-to-many database relationship is used when you are in the situation where the rows in the first table can map to multiple rows in the second table… and those rows in the second table can also map to multiple (different) rows in the first table.   One-to-One Relationship A One-to-One relationship means that you have two tables that have a relationship, but that relationship only exists in such a way that any given row from Table A can have at most one matching row in Table B.

 Database Relationships – One to Many | File Type: audio/mpeg | Duration: 32:16

We’ve talked about relational databases already, and we’ve learned why this type of database management really dovetails with the object oriented programming model. So now I want to dive into the specifics when it comes to relationships. What are the different types of relationships in SQL? There are three types of relationships you can have in SQL, they are: One-to-Many One-to-One Many-to-Many In this episode we are going to be focusing on the One-to-Many relationship as it’s the most commonly used in my opinion.

 Database Terminology - Relationships, Joins and Keys | File Type: audio/mpeg | Duration: 00

Terminology It's the foundation when learning any new concepts.  In this episode of the "How to Program with Java Podcast" we will be talking about some new database terminology. One of the most important aspects of modern databases is the fact that they allow you to define relationships. Relationships between tables allow you to break data up into its individual "areas of interest".  But when you break the data up, you'll need to know how to put it back together.  This is accomplished using relationships, keys and joins. There's plenty to learn about these concepts and we will start by scratching the surface in this episode.   Exciting Announcement As you'll hear in the first few minutes of this episode, I've recently had an epiphone!   I realized that there's no great communities dedicated to programmers. So I took it upon myself to create the very first community dedicated to programmers and the pursuit of knowledge and advancement of our common goals (to excel as programmers).  You'll learn lots about this community in the episode, so I won't go in to details here, but if you're interested in checking it out - please visit: http://coderscampus.com  

 CRUD Operations - Syntax for Interacting with your Database | File Type: audio/mpeg | Duration: 55:16

What’s all this CRUD about? Create Read Update Delete This is the at the heart of all databases and SQL. A database essentially carries out these four operations over and over again for the duration of its existence. In this podcast, I talk about these four database operations in detail and the actual syntax that is used in a flavour of SQL known as MySQL.

 Intro to Databases and SQL | File Type: audio/mpeg | Duration: 00

Ladies and gentlemen the time has come for you to start learning about Databases and SQL. In this episode I will talk about the very basics of databases and why it is they exist in the first place.  You'll learn things like: What exactly is a Database, and what ulitimate purpose does it serve? Why are modern databases referred to as relational databases? What a database does, day in and day out, it's sole purpose in life is essentially CRUD! How does SQL fit into the database equation Why it was that Trevor failed his first database course in university!  For shame! Learning and understanding databases is more is less a required skill in these modern days of programming, and at the very least, having knowledge about databases will give you a leg up on any competition.  So pay attention boys and girls, and strap on your thinking caps, because this ride is getting started.

 Let's talk AJAX - It's not just for cleaning anymore! | File Type: audio/mpeg | Duration: 32:15

AJAX (Asynchronous Javascript and XML) is a techonology used to create Rich Internet Applications (RIA).   If you're asking "what the heck does that mean!?"  You're in the right place In this podcast episode we will talk about the uses for AJAX and how it can lead to a much nicer web browsing experience for your Java web applications. What else will you learn about in this episode? The difference between an HttpRequest and an XMLHttpRequest Why it's annoying when your website has to refresh every time you submit a form The workflow behind how websites like Google Finance or live sports scores work What JavaScript frameworks make dealing with AJAX easier Why AJAX isn't really AJAX anymore (it's more like AJAJ, but that doesn't roll off the tongue!)  

 Intro to Algorithms and Big-O Notation | File Type: audio/mpeg | Duration: 54:12

An algorithm is essentially a well defined set of instructions that get carried out by a computer in an automated fashion to solve a problem.  A good example of this is to say "How would you tell a computer to figure out which of the 5 balls I've given to you is the heaviest (or lightest)".  In order to solve this "problem", you'll need to define a set of steps for the computer to carry out in order to reach a conclusion and solve the problem. Algorithms are very common in programming, as you are constantly trying to tell the computer how to solve problems in a step by step manner. The Big-O Notation is the way we determine how fast any given algorithm is when put through its paces.   Consider this scenario: You are typing a search term into Google like "How to Program with Java" or "Java Video Tutorials", you hit search, and you need to wait about 30 seconds before all of the results are on the screen and ready to go...  Would you still use Google?  Or would you start shopping around with other search engines to find one that is faster?  My guess is you'd start shopping around. Speed is everything these days, and building slow software is infuriating to users even if they aren't even paying for the software.

 Spring Security | File Type: audio/mpeg | Duration: 49:37

Ever wondered how you could properly restrict access to certain parts of your web application?   Do you have an application that has a user registration page and a user login page? Spring Security is the answer if you have a web application created with the Spring Framework! Spring Security will restrict access to any URLs that point to your web application based on your custom configuration. Learn how in this week's How to Program with Java podcast.

 Data Binding with Spring Framework | File Type: audio/mpeg | Duration: 42:43

So, the Spring framework is a wonderful help for programmers, but sometimes it needs a bit of help.  It does a good job of trying to match fields on a webpage to Java objects (aka Java Beans), but sometimes when the "mapping" is complex, Spring needs our help. In this episode I will explain exactly how you can go about something known as "custom binding".  This process allows you to take any text from the presentation layer and convert/bind it to the appropriate Java object (Java Bean) on the server side.

Comments

Login or signup comment.