Click here to Skip to main content

Articles by yanniel (Technical Blogs: 22)

Technical Blogs: 22

RSS Feed
No articles have been posted.

Average blogs rating: 4.50

Miscellaneous

Request the Google PageRank the Delphi way [Technical Blog]
Posted: 17 Dec 2012   Updated: 17 Dec 2012   Views: 1,215   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
In this post I am implementing the Delphi way to request the Google Toolbar’s PageRank (PR).

Site & Server Management

Pascal Server Pages – Pascal Script [Technical Blog]
Posted: 17 Dec 2012   Updated: 17 Dec 2012   Views: 1,317   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Pascal Server Pages.

Other .NET Languages

Deep copying (cloning) objects in Delphi [Technical Blog]
Posted: 14 Dec 2012   Updated: 14 Dec 2012   Views: 1,881   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Deep copying (cloning) objects in Delphi.
Anonymous Methods in Delphi [Technical Blog]
Posted: 30 Dec 2012   Updated: 30 Dec 2012   Views: 2,215   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Under the scope of Delphi, an anonymous method is either a procedure or function that’s unattached to an identifier. In other words, anonymous methods don’t have names, which is why they are called “anonymous”.
Hide the utter "Create" constructor of TObject in Delphi [Technical Blog]
Posted: 30 Dec 2012   Updated: 30 Dec 2012   Views: 2,192   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
In Delphi, constructors can be inherited; this doesn’t happen in Java, C# and C++ for example. Furthermore, constructors in Delphi can have multiple and different names; usually they are called Create, but this is just a convention, since you can define a constructor with whatever name you choose.

Libraries

Delphi Implementation for the OpenSubtitles API [Technical Blog]
Posted: 17 Dec 2012   Updated: 17 Dec 2012   Views: 1,065   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Delphi Implementation for the OpenSubtitles API.

Algorithms & Recipes

Generating Fibonacci numbers in Delphi: Recursive and iterative algorithms [Technical Blog]
Posted: 17 Dec 2012   Updated: 17 Dec 2012   Views: 1,453   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
A function that returns the Nth Fibonacci number.
Calculating the factorial of a number in Delphi: Recursive and iterative methods [Technical Blog]
Posted: 28 Dec 2012   Updated: 28 Dec 2012   Views: 1,596   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
The purpose here is not the mathematical stuff, but to provide two implementations of the factorial of a number in Delphi (Object Pascal).

Localisation

Internationalizing your Delphi application: An ABC example [Technical Blog]
Posted: 19 Dec 2012   Updated: 19 Dec 2012   Views: 790   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
The ABC for Delphi localization is Resourcing, Unit Conversions, and Dynamic Messages.
Enabling TLang to handle more than 17 translations: a workaround for a regression bug in Delphi XE3 [Technical Blog]
Posted: 15 Jan 2013   Updated: 15 Jan 2013   Views: 1,011   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
With TLang you can define a collection of native strings to be localized and the corresponding translations to a particular language.

String handling

String comparison in Delphi [Technical Blog]
Posted: 14 Dec 2012   Updated: 14 Dec 2012   Views: 1,649   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
String comparison in Delphi
String compression / decompression routines using Delphi [Technical Blog]
Posted: 28 Dec 2012   Updated: 28 Dec 2012   Views: 1,665   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
I wrote the following two functions with the purpose of compressing / decompressing string values within a Delphi application.

Design and Architecture

Multiton Design Pattern in Delphi [Technical Blog]
Posted: 19 Dec 2012   Updated: 19 Dec 2012   Views: 1,117   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
The multiton is somewhat an extension of the singleton pattern.
Template Method Design Pattern in Delphi. A working example [Technical Blog]
Posted: 28 Dec 2012   Updated: 28 Dec 2012   Views: 1,380   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 10
A working example of the Template Method design pattern in Delphi
Parameterized Factory Method in Delphi [Technical Blog]
Posted: 28 Dec 2012   Updated: 28 Dec 2012   Views: 1,536   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Factory Method is a creational design pattern, whose intent (according to Design Patterns: Elements of Reusable Object-Oriented Software) is to:“Define an interface for creating an object, but let subclasses decide which class to instantiate.
Decorator Design Pattern in Delphi. Multiple Decorations [Technical Blog]
Posted: 1 Jan 2013   Updated: 1 Jan 2013   Views: 2,733   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
In my previous post I introduced the decorator design pattern to you. I used a fairly simple example in order to give you a flavour of the pattern. I wrote Delphi code for that matter and I focused in having ONE, and only ONE, decorator class.
Decorator Design Pattern in Delphi. Single decoration [Technical Blog]
Posted: 1 Jan 2013   Updated: 1 Jan 2013   Views: 2,436   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Decorator (also referred as Wrapper) is classified by GoF as a structural pattern. Its purpose is to:“Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.”  
Refactoring to patterns. Yet another TDD example coded in Delphi [Technical Blog]
Posted: 19 Dec 2012   Updated: 19 Dec 2012   Views: 862   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Long overdue here is my second article about Test Driven Development (TDD) in Delphi. This is a continuation of TDD in Delphi: The Basics, another post that I wrote a few months earlier. I would like to focus in a particular step within the TDD cycle: refactoring the code. Refactoring means optimizi
Test Driven Development in Delphi: The Basics [Technical Blog]
Posted: 14 Dec 2012   Updated: 14 Dec 2012   Views: 1,771   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
A few examples.
Dependency Injection in Delphi: A simple example [Technical Blog]
Posted: 23 Dec 2012   Updated: 23 Dec 2012   Views: 1,784   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
I want to give a fairly simple Delphi example that will expose the dependency injection pattern.

Testing and QA

Testing the World Away: Recovery mission [Technical Blog]
Posted: 17 Dec 2012   Updated: 17 Dec 2012   Views: 1,250   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
No technique can stop testing from being a fag.

Work Issues

Salary Guide for Delphi developers: Let’s make it [Technical Blog]
Posted: 17 Dec 2012   Updated: 17 Dec 2012   Views: 1,183   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Salary Guide for Delphi developers.
No tips have been posted.

yanniel
Software Developer Digital Rapids
Canada Canada
Member
No Biography provided


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 20 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid