Developer

Entity Duplicates

Handle duplicate entities well! Scan for duplicate entities, and merge them. Includes integration with Relations and Rules.

Define which fields should be compared (e.g. title and date) on each entity. If they match, entity is flagged as duplicate. Merging UI lets you choose a master entity and merge the rest in.

flux Services Integration

Service integration API for the fluxkraft module suite.

This modules provides a framework for integrating Drupal with remote services like twitter, facebook or whatever. It exposes an admin UI for managing service connection settings and service accounts, but exposes no functionality for end-users.

Requirements

Integrated services

Status: Work in Progress

Extensions

Extensions is an alternative method of pluggable object creation (ala Chaos Tools plugins).

The key features of Extensions are:

  • Extensions are always namespaced objects
  • Extensions always extend the base Extension class
  • Unlike Chaos Tools, extensions can be declared dynamically, and at run-time
  • It is not necessary to load the Extension file to get information about it
  • Extensions use factory classes for creation
  • Extensions are organised into Collections, which are nominally a set of plugins with similar behaviour, but dont have to be

Basic usage

Extensions are a type of reusable class, so there are two ways you might commonly want to use them. Firstly, in accessing an Extension Collection to use the objects in it, and secondly to declare new extensions (it's not necessary to ever declare a collection, these are created dynamically).

Accessing a collection

<?php
// Get a full collection containing fully loaded extensions, as an array.
// This will return only extensions already declared.
$extensions = extensions_get_extensions($collection_name);

// Get only the settings for the collection, without creating objects, as an array.
// Again, this will only return extensions already declared.

Read more

Simple Client

Simple Client is a developer tool for making simple HTTP GET and POST requests using Guzzle.

This is a simple HTTP client module, used primarily for fetching content from the internet.

If you are looking for additional normalisation, validation, URL parsing and construction functionality, you may like to use Link API in conjunction with this module.

Dependencies

Simple Client requires Guzzle to be present and autoloadable, which needs to be done via Composer. Two workable options for this are setting it up via Composer Vendor, or Composer Manager.

Why wrap Guzzle

Guzzle is a perfectly adept HTTP client, so why wrap it in another module? This is reasonably straightforward. Over several projects, I found that I needed to repeat the same wrapping code around Guzzle. Some of it is just request construction, but there is also error handling and other parts. The result is a "simple" client. Its not as powerful as a full Guzzle client implementaiotn, but its not as complicated to use either.

Usage

Read more

Show Database Name

Toolbar with database name

Overview

Display the host and database name of the default database on the status report, toolbar (Drupal 7) and/or on the admin_menu bar if enabled (either Drupal 6 or 7) and/or in a block (to use with the admin module).

Read more

Import KIT

API реализующий функционал импорта данных из любого формата (CML, XML, CSV, TXT) в Drupal.
Состоит из управляющего модуля importkit и дочерних модулей, реализующих функционал хранения и удаления данных.
Модуль построен на патерне Observer с применением фабрики классов. Основной принцип взаимодействия с импортируемым контентом возложен на ридеры.

Структура модуля:

Observer -> Listner -> Reader -> Store

  • Observer -> Служит для информирования Listner о возникших событиях
  • Listner -> Основной класс для распределения задач
  • Reader -> Класс читающий документ импорта
  • Store -> Модуль хранилища и взаимодействия с Drupal

В поставку модуля входит 2 модуля демонстрирующих всю мощь модуля Import KIT

CommerceML2

  • cml_store_node - Позволяет импортировать данные из формата CommerceML2
  • cml_store_taxonomy - Позволяет строить категории из формата CommerceML2

Возможности модуля CommerceML2

  • Импорт товарных позиций с описанием
  • Импорт изображений
  • Импорт полного списка категорий, с формированием словаря для каждой ищ категорий
  • Импорт цен
  • Импорт остатков
  • Импорт атрибутов
  • Импорт полей (создание полей)
Read more
Subscribe with RSS Syndicate content
nobody click here