Matt RaibleMatt Raible is a writer with a passion for software. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Mozilla issue with JavaScript, screen.availHeight and <iframe>

I ran into an interesting issue this morning - maybe one of you will have a solution. I can get the height of a browser window using screen.availHeight in Mozilla/IE, just fine, but when there's an <iframe> on the page, Mozilla pukes. For more information, please see this complete explanation and demo.

Update: Boy am I an idiot - my <iframe> was named "screen" causing conflicts when referring to screen.availHeight. Oh well, I love easy solutions!

Posted in The Web at Mar 25 2003, 07:47:44 AM MST Add a Comment

Home, Next, Previous Bar in Opera, Mozilla

I discovered this one by accident today, but I think it's a pretty cool feature. This site (wonder if it's using gallery) has the following HTML in the <head> of its photo album pages.

<link rel="start" href="index.html" title="Home" />
<link rel="prev" href="index2.html" title="Back" />
<link rel="next" href="index4.html" title="Next" />

In Opera 7, an Opera-based bar magically appears at the top of the page, with the "Home", "Previous", and "Next" buttons enabled. Same thing on Mozilla, but only if you have the Site Navigation Bar enabled (View -> Show/Hide -> Site Navigation Bar). I also discovered that you can change the location/display of the Opera Navigation Bar at View -> Navigation Bar. I've verified that this does not work on the following browsers: IE/Win, Camino, Safari, Phoenix.

So what's the big deal - why are you writing about this? Because I think it gives a nice way to integrate workflow into a web application. You could probably put JavaScript in the "href" attribute's value to submit a form and guide a user to the next step in the process. Of course, you should still add appropriate buttons/links to your pages, but it's a nice UI for replicating choices for your users.

Posted in The Web at Mar 21 2003, 12:52:48 PM MST Add a Comment

Mozilla 1.3

Download Now

If you're using 1.3, try about:config in the address bar.

Posted in The Web at Mar 14 2003, 12:43:56 AM MST 1 Comment

The CommuniCam is in my possession!

Ericsson CommuniCam MCA-25 I received the CommuniCam today and it's not as bad as I expected. The pictures have horrible resolution when viewing them on the phone, but don't appear half bad on a computer screen. Granted, they definitely look like they're taken with a cheap digital camera, but that is what it is. I'm looking forward to using it tomorrow night, but I probably won't be able to post the pictures in real time. It's at Qwest in downtown Denver, and cell coverage sucks there. I know because Julie used to work in that building.

Now I just have to figure out how to upgrade my phone's firmware so I can get the zoom capability. I read it's possible on AT&T's forums last week, but can't seem to find the link.

Posted in The Web at Mar 11 2003, 08:41:56 PM MST 2 Comments

HTML Characters

The HTML Document Character Set. Good link if you're looking for how to render special characters in HTML.

Posted in The Web at Feb 25 2003, 04:49:13 PM MST Add a Comment

Disabled Text Resizing

I disabled the text-resizing feature this morning as I've received more complaints than praise. If you're still getting it, Shift+Reload. I may add it back in someday, but only with a little more testing first. I apologize for the inconvenience some users experienced.

Posted in The Web at Feb 20 2003, 07:54:40 AM MST

Opera 7 on Windows XP doesn't like my font switcher

I received a report from a reader of this site that Opera 7 on Windows XP scrunches and crunches words together. I opened it up on my machine, and sure 'nuff, they were right. I figured setting the font-size back to its default would fix the problem, by clicking on the "R" button on the top left - but none of the buttons seems to work on XP. I tried it on Windows 2000 and everything works fine. Hmmm, damn Opera. Oh well, I have a upcoming project to make a web app Opera 7-compliant, so I'm guessing I'll find all kinds of quirks in the near future. An easy fix for this problem would be to delete your cookies in Opera, but you actually have to download the Opera File Explorer to do this - what a pain!

Posted in The Web at Feb 18 2003, 08:07:06 AM MST 3 Comments

Netscape's DevEdge Reborn and cool style switcher

Zeldman reports that Netscape's DevEdge has been reborn. I really dig the style switcher via the button at the top right - as well as the font buttons.

Netscape's DevEdge has been reborn as a standards showcase: “Now DevEdge is not only a great source of tools and information for developers, it demonstrates extensive use of web standards for accessibility, maintainability, and user interaction.” Features include tableless, CSS layout; switchable styles, one of which includes a header graphic that hearkens back to the original DevEdge of the mid-1990s; cross-browser dropdown menus (these don’t work in IE5/Mac, but IE5/Mac users have been provided for); and link URLs that print out for your convenience. Eric Meyer contributed to the redesign and more information is available on his site.

Posted in The Web at Feb 14 2003, 08:56:52 AM MST Add a Comment

RE: Client-side Sorting with the DOM

After working the DOM for the past few days, I'm somewhat motivated to make my table row sorting demo support paging. In reality, it doesn't matter which table-sorting code I use, Erik Arvidsson has a nice example too. My logic is that I usually query a database and return all the rows for a particular table anyway, sometimes based on a search. Since I'm retrieving all these rows from the database, why not send them all to the UI. It might take a bit longer for the initial request, but then again, maybe not. I'm sure it's a different story for 10,000 records, but what if I only ever expect to have < 100 rows. Here's how I think I can do it:

1. Retrieve all the rows and put them in a table.
2. Call a JavaScript function on load that sets all <tr>'s (i.e. var rows = table.getElementsByTagName("tr")) with a rowIndex > 20 to rows[i].style.display = "none".
3. When a user clicks on a page number, do the math and set rows[i].style.display="" or rows[i].style.display="none" to show/hide particular rows.

BTW, I've added support in my local copy of the sortTable.js script to do sorting of <input> elements, as well as <select> elements. I can update the demo if anyone needs this functionality. Also, the W3C has a cool utility to check out what level of DOM support your browser has (based on user agent).

NOTE: I tried to manage my time today to be more productive, and succeeded at most things. I woke up at 3:30 this morning and got an hour and a half worth of editing done. I worked 8 1/2 hours at the office, and was home by 3:30. I was planning on working another 1 1/2 on editing, but it was a nice day so Julie, Abbie and I went on a hike at Red Rocks instead. I met a friend at 5:30 for an hour and a half of hoops, and returned home at 7:30. I got on this damn computer at 8:00 to do my evening editing, but instead ended up blogging and reading blogs for the last hour and a half. A month ago, I'd stay up late and still get my editing done. Not now, Abbie is much more fun and editing just doesn't sound interesting at all.

Posted in The Web at Feb 12 2003, 09:16:46 PM MST 1 Comment

Javascript Libraries

I feel the need to post a link to Matt Kruse's JavaScript Toolbox. I needed some JavaScript to move <option>'s from one <select> to another, and I found it via Google in about 10 seconds. I also use Matt's Calendar Popup JavaScript stuff, so his great work is familiar to me. To be fair and provide a fair shake to other great JavaScript libraries, here are a few others I've heard of and sometimes used:

If you know of others, please comment with links and your experience.

Posted in The Web at Feb 12 2003, 07:14:36 AM MST 1 Comment