Alejandro Gervasio is a senior System Analyst from Argentina who has been involved in software development since the mid-80's. He has more than 12 years of experience in PHP development, 10 years in Java Programming, Object-Oriented Design, and most of the client-side technologies available out there.
Alejandro's articles
Validate arguments and return values of methods and constructors with Bean Validation's ExecutableValidator and automate it with Java EE interceptors.
Inversion of control is not just dependency injection - the observer and template method patterns use it as well. Study all three to become an IoC expert!
Use Java Bean Validation's @Valid Annotation for validating entire object graphs with one method call.
Use the Java Bean Validation methods validateValue() and validateProperty() to independently check fields of a target class or even their potential values.
A tutorial on how to use Contexts and Dependency Injection (CDI) / Weld and Hibernate in the development of a full-blown JPA application.
A tutorial on how to use Contexts and Dependency Injection (CDI) and Weld in Java SE, covering core features like annotations, qualifiers, and producers.
A hands-on guide to domain model validation with the Java Beans Validation standard (JSR 303) and Hibernate Validator (Apache BVal is very similar.)
This tutorial builds a simple Java web application with Java's Servlet API. It shows how to set the project up, create views / controllers, and deploy.
JPA/Hibernate is a common approach to persistence in Java. This tutorial creates a simple CRUD app using Hibernate's EntityManager and the DAO pattern.
Although the "Dependency Injection = Inversion of Control" equation can generally be considered valid, the concept of IoC is actually much broader.
See how refactoring your code to adhere to the the Single Responsibility Principle can help you write more robust, less fragile software.
The Law of Demeter is a powerful paradigm whose goal is to promote the implementation of highly-decoupled application components by eliminating unnecessary mediators.
Learn how the Null Object design pattern takes advantage of polymorphism to reduce the tangled checks for null values all throughout your client code.
Learn why implementing different constructors in a class hierarchy doesn't violate the Liskov Substitution Principle.
Read Subtype Polymorphism - Swapping Implementation at Runtime and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read Patterns for Flexible View Handling, Part 1 – Working with Composites and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read An Introduction to the Front Controller Pattern, Part 2 and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Tunneling requests with a front controller through a single API entry point is an efficient way to implement a command-based mechanism.
Read Reusing Implementation – a Walk-through of Inheritance, Composition, and Delegation and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read The Layer Supertype Pattern: Encapsulating Common Implementation in Multi-Tiered Systems and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read Decoupling Interfaces from Implementation - Using Separated Interfaces and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read Implementing a Unit of Work - Handling Domain Objects through a Transactional Model and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read Handling Collections of Aggregate Roots – the Repository Pattern and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read The Dependency Inversion Principle and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read An Intro to Virtual Proxies, Part 2 and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
In this article, Alejandro Gervasio will teach us the introduction and a few examples of using PHP.