© Copyright 2000-2015 Source Code Online. Free Source Code and Scripts Downloads.
File ID: 65263
Version-specific import Description
Description: Let's say you're at a company and you're deploying a package called "tools" on all production boxes. Normally, code on these boxes could "import tools" to use this package.
However, over time the API to tools will evolve as you release new versions that add functionality and fix bugs. If there's lots of company code that "imports tools", then you're stuck with backward compatibility forever.
This recipe presents a method for letting client code specify on one line which version of "tools" they wish to use -- and then import from the tools package as normal. Behind the scenes, the recipe is making sure that the client works with the version of the package that they requested. If the client ever wants to change versions, it's a one-line change at the top of their code.
Related: Import, versioning, Versions
|More Similar Code|
RoadRunn's MP3 Server Search Engine is a web based search engine to search a personal MP3 collection and download and/or queue it in a streaming server. Please read the Notes for each release for version specific features.
LTSPICE2MATLAB imports an LTspice IV .RAW waveform file containing data from a Transient Analysis (.tran) or AC Analysis (.ac) simulation, and converts voltages and currents vs. time (or frequency) into a Matlab data structure. This function can...
JobGrok Application is a component for accepting job applications on your Joomla site.
If upgrading from a prior version: To upgrade from a prior version, install this version without uninstalling the existing version. If you are using...
JobGrok Listing is a component for posting job opportunities on your Joomla site.
If upgrading from a prior version: To upgrade from a prior version, install this version without uninstalling the existing version. If you are using a...
Fotobook is a WordPress plugin that will link to your Facebook account(s) and import all of your photo albums for use in your WordPress installation. It uses the Facebook API so importing your photos is a breeze. Requires PHP 5.
A set of 140 functions (plus support functions called by them) for analysis and display of exploration-seismic data and well logs. These functions read and write seismic data in standard SEG-Y format, read and write well logs in LAS-format 2.0,...
Import a LabView TDMS file (version 1.1 or 1.2) as a structure in the MATLAB workspace with the option to save the data in a MAT file. It was written in MATLAB 2010b. The original function was based on the work by Brad Humphreys of ZIN...
This is a rudimentary module to export orders from Ubercart to a CSV file for easy import into Excel.
Warning: the 6.x version is just a rough port of a module I wrote original for the 5.x version of Ubercart. I'm not sure the database...
The Amazon Associates Web Services (aaws) module allows the user to import items over Amazon's AWS interface. The aaws module uses standard node types and fields and does not rely on any Amazon-specific node types. Because of this, you can easily...
This module allows you to import or export taxonomy from or to a CSV (comma-separated values) file or with a copy-and-paste text.
When you want to import a vocabulary, a taxonomy or a simple list of terms in your Drupal site, you have...
|User Review for Version-specific import
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.