Managing Newsletter clusters with lamp & dojo

Avatar von Gregor Streng
Edit an article in a language edition of a newsletter

While the newsletter engines like mailman or majordomo work robust and
mature since many years, the challenge of writing and managing many
newsletter editions in a bigger organisation can turn into a medium
project administration task.


The requirements for newsletters which follow the company style
gzuidelines are mostly:

  • Newsletter must be in HTML
    (but editors mustn’t write html)
  • Newsletter can be in more than one language
  • The content must be taken from various source


To manage those needs a „simple“ interface is needed.

The aim inside the project with our enterprise customer was to have the following workflow:

  • There can exist newsletters to diffrent Topics.
  • Each newsletter can have unlimited editions.
  • Each edition can exist in diffrent languages
  • Every language edition is a collection of some articles.


Well this is not enough, every article itself can be made of multiple parts like:

  • Headlines
  • Teasers
  • Contents
  • Images
  • Links
  • etc….


Using Dojo 1.0 and PHP5 in the backend we realized an application which allows editors to put in all the contents of the Newsletter without the knowledge of HTML.
By using Templates for rendering the final output it is guaranteed that the newsletter follows the desired corporate Design.


All communication with the Server is done via JSON if possible. When transferring uploads like images we use a hidden frame to send the informations. In this case the server sends back a HTML with a Javascript call like back to the client to call an action after the successful POST.

Avatar von Gregor Streng


2 Antworten zu „Managing Newsletter clusters with lamp & dojo“

  1. Why do you need the additional frame? Uploading files works fine via JHR including ‚upload done‘ signalization.

    1. Yes, good idea – we had the functionality with the iframe ready to use – so it was just fast to implement – i will try it via JHR in the next release.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Für das Handling unseres Newsletters nutzen wir den Dienst HubSpot. Mehr Informationen, insbesondere auch zu Deinem Widerrufsrecht, kannst Du jederzeit unserer Datenschutzerklärung entnehmen.