Developing Business Applications for the Web: With HTML, CSS, JSP, PHP, ASP.NET, and JavaScript - Softcover

Ubelhor, Laura; Hur, Christian

 
9781583473481: Developing Business Applications for the Web: With HTML, CSS, JSP, PHP, ASP.NET, and JavaScript

Inhaltsangabe

This book focuses on using common Web tools to develop business applications. Professional business programmers who are new to Web development will quickly acquire the relevant information they need, starting with Html and Css. The book goes beyond simple Html and introduces other common Web technologies, including Java Server Pages (Jsp), Php, Asp.Net, and JavaScript. The book shows how those technologies interact with Html and how developers can use them to develop and deploy business applications that users access via the Web. This book is written by business programmers and educators for business programmers. It is not just an introduction to Html, but an introduction to the most common tools any business programmer needs to develop browser-based applications. Upon completion of the book, a business developer or student will have learned to develop and implement a completed browser-based business application.

Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.

Über die Autorin bzw. den Autor

Christian Hur is an IT-Web Instructor at Gateway Technical College in Racine, Wisconsin. He teaches a variety of online, traditional, and distance learning courses including web programming, HTML5 and CSS3, JavaScript, Visual Basic 2012, networking, and mobile programming with Android. He also co-founded two companies: Bluebell Company, Inc. (a multimedia and e-commerce business in Los Angeles) and Mydia Entertainment Group, LLC, (with his wife in 2012). Christian's career in Web development spans more than 20 years. In 1994, he created his first website with HTML and published it on the Web. Since then he has developed many websites and Web-based applications using a variety of Web development tools. He has also managed numerous dedicated Web servers and maintained many websites using a variety of content management systems, including Joomla, Drupal, and WordPress. During his five years as Senior Web Developer at Gannett Wisconsin Media (2009-2014), Christian managed 10 major Wisconsin newspaper websites and maintained and developed more than a dozen niche sites. Christian received his B.L.S. degree from the University of Wisconsin-Oshkosh and is currently a candidate for the Masters of Science in Computer Information Systems program at Boston University. Laura Ubelhor owns and operates Consultech Services, Inc., a Rochester, Michigan-based consulting company established in 1992. The organization specializes in providing consulting services, including project management, design, development, implementation, and business application support. Laura has extensive hands-on experience working with many clients in a variety of businesses with applications deployed on diverse platforms. Laura has been involved in the Southeast Michigan iSeries User group as a board member since 1988, serving as group President for over 15 years. She is a longtime volunteer for the COMMON user group, currently serving as Assistant Director of the COMMON Education Foundation. Laura has also presented on technology topics at local and national user group events. She has authored many published technology articles and is coauthor of "HTML for the Business Developer," published by MC Press. She assisted in writing the RPG and Business Computing Professional COMMON certification exams.

Auszug. © Genehmigter Nachdruck. Alle Rechte vorbehalten.

Developing Business Applications for the Web

With HTML, CSS, JSP, PHP, ASP.NET, and JavaScript

By Laura Ubelhor, Christian Hur

MC Press

Copyright © 2017 Laura Ubelhor and Christian Hur
All rights reserved.
ISBN: 978-1-58347-348-1

Contents

Acknowledgments,
Introduction,
1: An Introduction to Browser-Based Applications,
2: An Introduction to HTML,
3: Using Cascading Style Sheets,
4: Adding Links and Anchors,
5: Visual Elements and Web Multimedia,
6: Arranging Content,
7: Web Application Overview,
8: Incorporating JavaScript,
9: Web Development with PHP,
10: Web Development with ASP.NET,
11: JavaServer Pages,
12: Handling Browser Differences,
13: SEO and SMO for Web Pages,
14: Best Practices,


CHAPTER 1

An Introduction to Browser-Based Applications


This book is written for business programmers, by business programmers and educators. Since HTML is the foundation language for all browser-based business applications, we'll start with HTML. However, any browser-based application almost certainly involves languages or tools in addition to HTML. In later chapters, you'll see many examples of how those other languages and tools integrate with HTML.

What exactly is a browser-based application? Application development in the 21st century can be broken down into two categories: legacy and modern. (These terms are commonly used by business application developers, but they can be a bit misleading, as legacy applications are sometimes quite modern in their design, while some so-called modern applications have horribly archaic designs.) Modern application development splits further into two sub-categories: browser-based and client-based. Client-based applications are typically deployed as executable files loaded onto each computer that needs the application. This often involves one or more installation files typically downloaded from a website. A browser-based application, the topic of this book, is quite different.

A Web browser is a program such as Google Chrome, Microsoft Internet Explorer or Edge, or Mozilla Firefox. It is designed as a generic Web page presenter, accepting complex streams of commands and data from remote Web servers and composing them into visually appealing Web pages. A browser can typically process instructions written in a number of different languages, but by far the most common language is HTML, which stands for Hypertext Markup Language.

HTML is one of many markup languages. All of them rely on small snippets of code called tags that are intermixed with the content being processed. In the case of HTML, a tag is recognized by the less-than and greater-than signs that surround it. For example, to create a large page heading, you might code

MY PAGE HEADING

. The

tag signals the browser that the text that follows appears very large, as shown in Figure 1.1.

The

tag is called an end tag. The slash indicates that this tag ends the previous heading tag. Any text processed after the end tag appears in the default size and style. Most, but not all, HTML tags have corresponding end tags.

HTML is a relatively simple language. While it has some quirks, it should not intimidate anyone. Generally, the most complex aspects of Web page design come from integrating other languages into the HTML code, such as JavaScript and Cascading Style Sheets (CSS).


Additional Languages

Initially, you'll learn how to incorporate JavaScript and CSS into your Web pages. Then, you'll see how to combine those pages with other languages, such as JSP, PHP, and ASP.NET, to provide database integration.

Each language has its own strengths and weaknesses. JavaScript is a powerful Java-based language modeled on C++, but simpler and with key design changes to make it easier to deploy on a variety of computers. PHP is a popular scripting language designed specifically for database integration. This HTML preprocessor runs on a Web server and creates dynamic HTML content that is returned to the remote user via the browser. ASP.NET is similar in concept to PHP, but the syntax is similar to VB.NET, the version of Microsoft's Visual Basic (VB) implemented on Microsoft .NET Framework. Both PHP and ASP.NET rely on specialized Common Gateway Interface (CGI) programs. CGI programs can be written in many languages and provide a powerful and flexible method for developing dynamic Web pages.

Which language you choose is up to you, and will be the product of a decision that considers many factors, such as your current skill sets, your coworkers' skill sets, skill sets of available resources, executive mandates, existing applications, and personal preference. Our goal is to provide complete, clear, and functional examples of browser-based applications written with each of these methods, enabling you to be productive immediately upon completion of this book.


What Is a Client?

The client is the hardware device that will be used to access the Web application. The client is probably a laptop or desktop computer, but it might be a handheld device such as a PDA/smartphone, tablet, iPad, or even a mobile phone. Which devices your application will need to support usually depends on who your application users are and what devices they use to access the Internet. These devices will also likely use a variety of operating systems. While the most common operating system is Microsoft Windows, there are many other possibilities, such as Mac OS and Linux.

Even if all your website's visitors will be using Windows on PCs, they might be using different screen sizes and resolutions, which will affect the appearance of the site and applications. Those differences may or may not affect how applications are coded. For example, if your visitors will use handheld devices, your application might need to be designed and coded to easily fit displayed data on a smaller screen. If your application has a lot of graphics, the need to consider performance and appearance will be more important. (Considerations based on device types, operating systems, screen sizes, and resolution are discussed in more detail in chapter 12.)


What Is a Browser?

A browser is software that acts as an interface between the user client and the Web. The browser is also sometimes referred to as a Web client. The browser sends requests for information, receives that information, and displays it on a user client.

You are probably already familiar with some of the available browsers. They include, but are not limited to, Chrome, Edge, Firefox, Internet Explorer, Opera, and Safari. The browsers used to access applications can affect appearance and impose other considerations for Web development. Browsers are free of charge and change in popularity. If your application provides access to the general Internet community, many different browsers will probably be used to access your site and applications. (Browsers are discussed in more detail in chapter 12.)


What Is HTML?

If you are creating a Web application, you almost certainly will use HTML. HTML has been around quite a while and is likely to be used for a long time to come. It is the language of the Web, so you must have at least a basic understanding of it. HTML has changed since its initial inception to include functions and features that...

„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.