Microsoft’s Dynamic Language Runtime (DLR) is a platform for running dynamic languages such as Ruby and Python on an equal footing with compiled languages such as C#. Furthermore, the runtime is the foundation for many useful software design and architecture techniques you can apply as you develop your .NET applications.Pro DLR in .NET 4 introduces you to the DLR, showing how you can use it to write software that combines dynamic and static languages, letting you choose the right tool for the job. You will learn the core DLR components such as LINQ expressions, call sites, binders, and dynamic objects—and how they work together to achieve language interoperability. You’ll see how to mix and match objects and functions from compiled and dynamic languages, so you can write code in the language of your choice while taking advantage of libraries written in other languages. And you'll discover how the various languages interoperate behind the scenes.With the basics out of the way, the book then details the various ways you can leverage the DLR in the design and architecture of your software applications. You’ll learn about runtime code generation, which lets you avoid much of the boilerplate code typical in layered business applications. You’ll see practical examples of using the DLR to build domain-specific languages, and you’ll learn how the DLR helps enable aspect-oriented programming.What you’ll learn- Mix and match dynamic and compiled code in your applications.- Run Python, Ruby, PHP, and other dynamic code with full access to .NET functionality.- Create domain-specific languages for use in your own applications.- Host dynamic languages and provide scripting capability in your applications.- Learn and apply the concepts of meta-programming and meta-object protocol.- Streamline and automate unit-testing through scripts written in dynamic languages.Who this book is forPro DLR in .NET 4 is for any .NET programmer wanting to benefit from the new ability of dynamic languages such as Python and Ruby to function as first-class citizens in a .NET environment. It’s a book for those wishing to mix and match dynamic and static languages in ways that improve programmer and user productivity. It’s also a book for those implementing domain-specific languages, who wish to add scripting capabilities to their applications.
Revision with unchanged content. Have you ever thought about programming a .NET applicaton with PHP? One that also includes a Graphical User Interface? Such a scenario has been unlikely so far, but this book turns the tide. It shows you how to translate PHP scripts into .NET assemblies and how to run them on Windows and other operating systems. Since PHP has become an exciting programming language, it is time for the . NET community to benefit from it. The focus of this book is not about programming web applications, it is about implementing the language PHP as for the .NET Platform and how to integrate it with other .NET languages. Thus, software engineers can use PHP as a fully-fledged programming language for developing standalone applications outside of web pages. For this purpose, a compiler is presented that translates PHP scripts into .NET bytecode called Common Intermediate Language (CIL). This book also introduces PHP and CIL in detail and provides a good insight into basics and concepts of compiler construction. Furthermore, it looks behind the scenes of the Microsoft .NET Framework and the Mono Project, which is a considerable open-source implementation of the .NET Platform.
Learn the nuts and bolts of cloud computing with Windows Azure, Microsoft's new Internet services platform. Written by a key member of the product development team, this book shows you how to build, deploy, host, and manage applications using Windows Azure's programming model and essential storage services. Chapters in Programming Windows Azure are organized to reflect the platform's buffet of services. The book's first half focuses on how to write and host application code on Windows Azure, while the second half explains all of the options you have for storing and accessing data on the platform with high scalability and reliability. Lots of code samples and screenshots are available to help you along the way. * Learn how to build applications using the Windows Azure toolset * Discover how Windows Azure works under the hood, and learn the how and the why behind several features * Choose to write application code in .NET or other languages such as C/C++, PHP, or Ruby * Understand the various options for managing your service * Get up to speed on Azure's storage services, including blobs, queues, and tables * Build a secure backup system, and learn about cloud application security, cryptography, and performance
This book is a fast paced tutorial to creating a website using Mambo. If you've never used Mambo, or even any web content management system before, then this book will walk you through each step in a friendly and accessible way. From installation, to initial set up and content entry and then on to customization for your own look and feel, this book will get you to a stable and working Mambo based web site fast. You don't have to be an experienced web developer or designer to get a great looking site with a full set of functions using this book and Mambo. This book will guide through every step. The book begins by introducing Mambo and concepts behind content management. Then the installation of Mambo, and its supporting software [Apache/MySQL/PHP] is covered clearly and simply. Once you have the installation up and running, we then take a tour of Mambo as it appears out of the box, to familiarize ourselves with how it works and what is what. As you take the tour, your own ideas for what you need in your new website begin to crytallise around what you can see Mambo is capable of. We then build our web application, using the features of Mambo that are essential to our purpose. We try not to spend time on things that don't matter at this point. Once we have a base version of our site up, we then learn how to change it appearance and feature set to suit our particular requirements, including bringing it into line with an established corporate identity. At the end of the book we show how, if you have the skills and the need, you can add your own extensions to Mambo.
Revision with unchanged content. Have you ever thought about programming a .NET applicaton with PHP? One that also includes a Graphical User Interface? Such a scenario has been unlikely so far, but this book turns the tide. It shows you how to translate PHP scripts into .NET assemblies and how to run them on Windows and other operating systems. Since PHP has become an exciting programming language, it is time for the . NET community to benefit from it. The focus of this book is not about programming web applications; it is about implementing the language PHP as for the .NET Platform and how to integrate it with other .NET languages. Thus, software engineers can use PHP as a fully-fledged programming language for developing standalone applications outside of web pages. For this purpose, a compiler is presented that translates PHP scripts into .NET bytecode called Common Intermediate Language (CIL). This book also introduces PHP and CIL in detail and provides a good insight into basics and concepts of compiler construction. Furthermore, it looks behind the scenes of the Microsoft .NET Framework and the Mono Project, which is a considerable open-source implementation of the .NET Platform.
In late 2013, approximately 40 million customer debit and credit cards were leaked in a data breach at Target. This catastrophic event, deemed one of the biggest data breaches ever, clearly showed that many companies need to significantly improve their information security strategies. Web Security: A White Hat Perspective presents a comprehensive guide to web security technology and explains how companies can build a highly effective and sustainable security system.In this book, web security expert Wu Hanqing reveals how hackers work and explains why companies of different scale require different security methodologies. With in-depth analysis of the reasons behind the choices, the book covers client script security, server applications security, and Internet company security operations. It also includes coverage of browser security, cross sites script attacks, click jacking, HTML5/PHP security, injection attacks, authentication, session management, access control, web frame security, DDOS, leaks, Internet transactions security, and the security development lifecycle.
Flash Remoting MX lets developers easily integrate rich Macromedia Flash content with applications that are built using Macromedia ColdFusion MX, Microsoft .NET, Java, PHP, or SOAP-based web services. The result is complex client/server applications that more closely resemble desktop applications than traditional web pages. Gone is the click/wait/reload approach of HTML. Your web application uses Flash as the front end while Flash Remoting handles the communication behind the scenes with the application server. All the end user knows is that it's fast and flexible.The potential uses for Flash Remoting are endless. Flash Remoting: The Definitive Guide will help you understand this breakthrough technology and use it to build your own Rich Internet Applications (RIAs). Build applications that connect to a database, file system, or other server-side technologies. Or, use Flash Remoting to create:online stores that feature catalogs and shopping cart systemssound and video clip librariesbanner ads with built-in shopping carts, click-through tracking, and site search capabilitiesnew controls that can be used in place of HTMLextensions to Flash, Dreamweaver, Fireworks, and morefront-ends to databases for administratorsThe book begins with Flash Remoting basics: setup, installation and an introduction to its underlying concepts. Next, you'll explore the Flash's User Interface components as they relate to Flash Remoting. Then, you'll gain insights into Flash Remoting internals and the Remoting API. The book is rich with examples that you will be able to run on your own system.The next section focuses on the server-side environment that you'll use for your applications. Individual chapters cover Flash Remoting with ColdFusion, Server-Side ActionScript, Java, ASP.NET, and PHP.The last section covers more advanced Flash Remoting techniques, such as calling web services from Flash Remoting, extending objects and UI controls, best practices, and debugging. Plus there is a detailed chapter demonstrating a real-world application. The book concludes with a Flash Remoting API reference.Developers who are looking to create Rich Internet Applications with Flash will find Flash Remoting: The Definitive Guide indispensable.