Subscribe

CODE CRAFT - Practice Writing Excellent Code

Diposting oleh Information and Technology on Sabtu, 23 Mei 2009

Work from the front cover to the back, or pick it up in the places that interest you—it doesn’t matter. What does matter is that you read Code Craft with an open mind, and think about how to apply what you read to what you do. A wise man learns from is mistakes; a wiser man learns from the mistakes of others. It’s always good to learn from others’ experiences, so look at this material, and then ask the opinion of a programmer you respect. Look over the questions and discuss them together. As you learn code craft, I hope you enjoy yourself. When you have finished, look back and see how much more of the craft you appreciate, how your skills have grown, and how your attitudes have improved. If nothing has changed, then this book has failed. I’m sure it won’t.
Type : pdf
Size : 2.60 MB

C # 2005 FOR DUMMIES

Diposting oleh Information and Technology on Minggu, 17 Mei 2009

INTRODUCTION

The C# programming language is a powerful, relatively new descendant of Tthe earlier C, C++, and Java languages. Programming with it is a lot of fun, as you’re about to find out in this book.
Microsoft created C# as a major part of its .NET initiative. For what are probably political reasons, Microsoft turned the specifications for the C# language over to the ECMA (pronounced ek-ma) international standards committee in the summer of 2000, long before .NET was a reality. In theory, any company can come up with its own version of C# written to run on any operating system, on any machine larger than a calculator.

When the first edition of this book came out, Microsoft’s C# compiler was the only game in town, and its Visual Studio .NET suite of tools offered the only way to program C# (other than at the Windows command line). Since then, however, Visual Studio has gone through two major revisions — Visual Studio 2003 and, very recently, Visual Studio 2005. And at least two other players have entered the C# game.

It’s now possible to write and compile C# programs on a variety of Unix-based machines using either the Mono or Portable .NET implementations of .NET and C#:

1. Mono (www.go-mono.com) is an open-source software project spon sored by Novell Corporation. Version 1.1.8 came out in June 2005. While Mono lags Microsoft’s .NET, just now implementing the 1.1 version that Microsoft released a couple of years ago, it appears to be moving fast.

2. Portable .NET, under the banner of Southern Storm Software and DotGNU www.dotgnu.org/pnet.html), is also open-source. Portable .NET is atversion 0.7.0 as of this writing.

Both Mono and Portable .NET claim to run C# programs on Windows and a variety of Unix flavors, including Linux and Apple’s Macintosh operating system. At this writing, Portable .NET reaches the greater number of flavors, while Mono boasts a more complete .NET implementation. So choosing between them can be complicated, depending on your project, your platform, and your goals. (Books about programming for these platforms are becoming available already. Check http://www.amazon.com/.)

Open-source software is written by collaborating groups of volunteer programmers and is usually free to the world.

Making C# and other .NET languages portable to other operating systems is far beyond the scope of this book. But you can expect that within a few years, the C# Windows programs you discover how to write in this book will run on all sorts of hardware under all sorts of operating systems — matching the claim of Sun Microsystems’ Java language to run on any machine. That’s undoubtedly a good thing, even for Microsoft. The road to that point is still under construction, so it’s no doubt riddled with potholes and obstacles to true universal portability for C#. But it’s no longer just Microsoft’s road.

For the moment, however, Microsoft’s Visual Studio has the most mature versions of C# and .NET and the most feature-filled toolset for programming with them.

If all you need is C#, I’ve included a bonus chapter called “C# on the Cheap” on the CD that accompanies this book. That chapter tells you how you can write C# code virtually for free. (You’ll be missing lots of amenities, including the nice visual design tools that Visual Studio 2005 provides, but you can write Windows code without them, especially the kind of code in this book.
Bonus Chapter 5 explains how.)

Note:Two authors wrote this book, but it seemed more economical to say “I”
instead of “we,” so that’s what we (I?) do throughout.

Type : pdf
size : 8.46 MB
Download Now

C# DOT NET Web Developer Guides

Diposting oleh Information and Technology on

FOREWORD

Seldom in the history of computer software has any technology received such a positive response from developers and the industry,even while the technology is still in its nascent beta stage.The .NET Beta2 SDK from Microsoft has already been downloaded by millions of developers all over the world.There have been dozens of published books,Web sites and newsgroups devoted to the .NET platform,its related
technologies and languages.

Microsoft has invested billions of dollars and years of research in the creation of .NET..NET is a comprehensive strategy ,consisting of operating systems,database servers,application servers,and the .NET Runtime,as well as managed languages that operate over the .NET platform.

Many people see the .NET platform as the practical implementation of the previously formulated Windows DNA.Others see it as a response to developer woes from working with previous technologies and languages.However,the common opinion simply offers that .NET is a significant improvement over previous Microsoft technologies.The .NET platform has been built from the ground up with numerous goals in mind,including security, scalability, reliability, flexibility, and interoper ability these goals have all been dealt with from the start to help to make the .NET platform enterprise ready and developer friendly.

The .NET platform displays a significant shift in Microsoft’s thinking.While building the .NET platform,Microsoft has shown strong support for open standards like XML,SOAP,and UDDI,rather than building its own proprietary standards and technologies.Even the core part of the .NET platform—the Common Language Infrastructure (CLI)—and the C# specifications have been placed before ECMA for standardization.

C# is defined as a simple,modern,object-oriented,and type-safe programming anguage derived from C and C++.Developed by Anders Hejlsberg of Microsoft specially for the .NET platform,C# derives its features from a number of languages like C,C++,and Java.Specifically written to offer the simplicity of Visual Basic and power of C++ as an object-oriented language,C# makes it easier for developers to create,debug,and deploy enterprise applications.It has also been predicted that C# will become the favored language for developing applications on the .NET platform

Visual Studio.NET,the next version of Visual Studio IDE,is also a key component of the .NET strategy.The Visual Studio.NET IDE has also been given a facelift and packed with a wide variety of new functionalities.A bitmap editor,debugger, Web Forms designer,Windows Forms designer,Web Services designer,XML editor, HTML editor,Web browser,Server Resources Explorer,and multi-language support have all been packed into one single IDE.

The focus of The C#.NET Web Developer’s Guideis not on teaching you the core C# language,but rather providing you with code examples that will help you leverage the functionalities of the .NET Framework Class Libraries.The .NET Framework collection of base classes cover many of the multiple APIs.Although impossible for one book to cover all the features,in this book we have covered the key concepts,libraries,and APIs of the .NET Framework that we feel will help you easily create new applications using C#. You have a whole host of features to learn and master,so why wait? Let’s get started!!
Type : pdf
Size : 6.81 Mb

C# BIBLE

Diposting oleh Information and Technology on

Preface

Microsoft's .NET Framework represents the most significant change in software development methodology for a Microsoft operating system since the introduction of Windows. It is built using an architecture that allows software languages to work together, sharing resources and code, to provide developers with the advanced tools necessary to build the next generation of desktop and Internet-enabled applications. Microsoft's Visual Studio .NET product includes new versions of their Visual Basic and C++ compiler products that target .NET development, as well as a brand new language called C# (pronounced "C-sharp").

C# Bible will show you how to write code using this brand new language. Language constructs such as statements, variables, control loops, and classes are all covered. In addition, the book will show you how to apply C# to programming tasks that developers often face in the real world. The final portions of the book will show you how to use C# to develop Web sites, access databases, work with legacy COM and COM+ objects, develop Windows desktop applications, work with various .NET Framework concepts, and more.

The primary focus of this book is .NET development using C# as the implementation language and the .NET Framework's C# command-line compiler as the primary development tool. C# development using the Visual Studio .NET tool is not covered in this book, although the task of using Visual Studio .NET to develop C# applications can be easily mastered once the fundamentals of .NET development using C# are well understood.

Type : pdf

Size : 4.09 MB

Download Now

Beginning XML with DOM And AJAX

Diposting oleh Information and Technology on Jumat, 15 Mei 2009

About Author

SAS JACOBS is a web developer who set up her own business, Anything Is Possible, in 1994, working in the areas of web development, IT training, and technical writing. The business works with large and small clients building web applications with .NET, Flash, XML, and databases. Sas has spoken at such conferences as Flashforward, webDU (previously known as MXDU), and FlashKit on topics related to XML and dynamic content in Flash. In her spare time, Sas is passionate about traveling, photography, running, and enjoyinglife.



Introductions

This books aims to provide a “one-stop shop” for developers who want to learn how to build Extensible Markup Language (XML) web applications. It explains XML and its role in the web development world. The book also introduces specific XML vocabularies and related XML recommendations.


I wrote the book for web developers at all levels. For those developers unfamiliar with XML applications, the book provides a great starting point and introduces some important client and server-side techniques. More experienced developers can benefit from exposure toimportant coding techniques and understanding the workflow involved in creating XML applications.


The book starts with an explanation of XML and introduces the different components of an XML document. It then shows some related recommendations, including Document Type Definitions (DTDs), XML schema, Cascading Style Sheets (CSS), Extensible Stylesheet Language Transformations (XSLT), XPath, XLink, and XPointer. I cover some common XML vocabularies, such as Extensible HyperText Markup Language (XHTML), Mathematical Markup Language (MathML), and Scalable Vector Graphics (SVG).

The middle section of the book deals with client-side XML applications and shows how to display and transform XML documents with CSS and XSLT. This section also explores how the current web browsers support XML, and it covers how to use JavaScript to work with XML documents. In this section, I also provide an introduction to the Asynchronous JavaScript and XML (Ajax) approach.


The book finishes by examining how to work with XML on the server. It covers two serverside languages: PHP 5 and .NET 2.0. The last chapters of the book deconstruct two XML applications: a News application and a Community Weather Portal application.

The book includes lots of practical examples that developers can incorporate in their daily work. You can download the code samples from the Source Code area of the Apress website at http://www.apress.com. I hope you find this book an invaluable reference to XML and that, through it, you see the incredible power and flexibility that XML offers to web developers.
Type : pdf
Size : 11.12 MB

Beginning ASP DOT NET 2.0

Diposting oleh Information and Technology on

Introductions

Many different technologies are available today for developing complex web sites and web applications and with so many to choose from, it’s great that there’s one technology in particular that stands out from the crowd and is such a joy to use. ASP.NET 2.0 is a fantastic technology that enables you to develop web sites and applications with very little hassle. Developing web applications was never this easy, yet even though it may appear simple, there is real power and depth to this technology that enables it tohost even the most complex applications available today.

With every new release from Microsoft comes a new way of thinking, new technologies designed tomake your life easier, and the best-ever programming experience; ASP.NET 2.0 is no exception to this rule. Whether you have developed web applications before, or if you are completely new to the world of web development, there’s a lot to learn about this particular version of the technology.

Built on top of version 2.0 of the .NET Framework, ASP.NET 2.0 extends on the functionality first seen in ASP.NET 1.0 and 1.1. At its core, you have a control-based, event- drivenarchitecture, which means that you have the ability to add small blocks of code to a page, and see dynamic results with minimal effort, and you can react to user input to provide a smooth and intuitive user experience.

The biggest change since the previous edition of ASP.NET is in the amount of code you have to write the ASP.NET team aimed for a 70% reduction in the amount of code you write, and having spent timemyself working with ASP.NET 2.0 in the field, even if this claim does sound somewhat large, the reduction in time spent with fingers on keys is very noticeable. The mundane and repetitive tasks that you would have previously had to complete have been simplified. For example, providing user login functionality to a site is now a very swift process—adding a few controls to a page and setting up some user accounts is pretty much all you need to do to get basic user login functionality implemented on a site, and personalizing the user experience is just a step away from there!

Now add the new development environment designed for building ASP.NET 2.0 applications, Visual Web Developer (available on its own, or as part of Visual Studio 2005), and you will find building dynamic, feature-rich applications to be a fast, smooth process. Visual Web Developer is a new innovation from Microsoft, and was developed mostly in response todeveloper demand. Previous editions of Visual Studio .NET were not great when it came to web programming, and you’d often find your code had been “fixed” for you behind the scenes because your HTMLcame out looking very different thanthe way it went in originally! Visual Web Developer has a fantastic HTMLediting environment, and a really smooth and intuitive interface for developing complex ASP.NET applications. Best of all, it’s a low-cost product, which makes it accessible to a wide audience who may not be able to afford the complete Visual Studio package.
Type : pdf
Size : 22.13 Mb

Mission Critical Network Planning

Diposting oleh Information and Technology on


Type : Pdf
Size : 3.61 MB
Download Now

Langganan: Postingan (Atom)