Matches for tag(s) devshed
DevShed.com: Getting Started with Ruby on Rails
Ruby on Rails differs from other technologies in the aspect that, while other enterprise technologies give more stress on configuration, RoR stresses convention, thus eliminating the need for lengthy configuration files based on XML. The base of RoR being Ruby gives it one more advantage, the advantage of working with a Very High Level Language. Above all RoR natively supports Model View Controller architecture.
However the question still remains: how effective and productive is RoR? In the world of web development where every new framework (whether based on Java or any other language) is touted to be the one to revolutionize the web programming paradigm, how can one be sure of authenticity of the claim? In this discussion I will try to present both the sides of RoR and leave the rest to your discretion.DevShed.com: Ruby-on-Rails: Understanding the Basics of Active Record
Ruby on Rails handles data manipulation with the Active Record, which provides an Object Relational Mapping framework. If these sound a little like foreign words to you, keep reading; you'll find that the way RoR handles ORM is a little different, and perhaps easier, than you might see it handled with other languages.
Data and its manipulation is central to any application, whether it is a desktop or web-based application. Data can be represented and manipulated using different techniques.
One of them is the Object Relational Mapping technique or simply ORM. ORM maps the relational tables to the object oriented classes. ORM frameworks provide the mapping and corresponding object, data manipulation services. In most of the server-side technologies, ORM frameworks constitute a totally different component stack. Hence it becomes the job of the developer to do the groundwork to create a connection between the ORM framework and other frameworks (such as web frameworks).Devshed: A Login System for a PHP Email Application
DevShed continues on with their creation of an email application series with part two of the series - a look at the creation of the login system for the app.
We know from the previous article that the user ID is very important, in that it is used to retrieve various information from the database at various stages of the application. The login form sets this userID when you log in. It is the login system that will be the focus of this second part in a four-part series.
They give a simple screenshot of what the login will look like before getting into how to connect to the database, verify the user's information, logging in the user, registering new ones, and the code to work with the user's profile.DevShed: Using Abstract Factory Classes in PHP 5 to Work with Online Forms
DevShed has posted the final installment of their series looking at the creation and use of the Abstract Factory pattern. In this new part, they focus on the creation of online forms and their handling as the pattern is applied.
In this last installment of the series, I'm going to show you how to use an abstract factory class to create distinct types of form objects, logically depending on the context where they will be utilized. The idea not only sounds interesting, but it can provide you with a better understanding of how this handy pattern can be used in a real situation.
They start by defining their abstract factory form class and extending it to create a required form element and a normal form element. They make input functions for each - required input box, required radio button, required check box - and their "Normal" counterparts. Finally, they tie these all together to create a simple form with sets of an input box, radio set, and checkboxes both required and normal.
DevShed: Creating an RSS Reader: the Reader
In a new tutorial from DevShed today, they walk you through the creation of a simple (very simple) RSS reader in PHP.
In this article we are going to discuss how to create a PHP-based RSS reader. It would be helpful if you know something about XML, but not really necessary. RSS documents have three main tags: Title, Link and Description. And they all do exactly what their names suggest. I will go into detail about these tags in my second article dealing with building an RSS file. For now, we will only focus on the reading part of the article.
They start with an overview, showing where you'll come from and where you're headed to. They include a section introducing the XML handing functions (SAX, not DOM) and use them in a chunk of code to read in the RSS file and handle the contents.
DevShed.com: An Introduction to PHP Security
Since its introduction in 1994 or thereabouts, the PHP language has grown to become the most popular scripting language in the world of server side scripting and now powers most of the web's most visited sites. With this popularity came new concerns such as performance, maintainability, scalability, reliability and (most importantly) security.
