Blog berichten per auteur

Posts from "Patrick van Bergen"

  1. He's Dead, Jim!

    by Patrick van Bergen

    hes-dead-jim.png

    The narrowcasting application I had written in Javascript to run exclusively on Chrome was running smoothly. The single page interface showed a presentation, and was running for hours on end. And then, without notice, it crashed.

    Read more about "He's Dead, Jim!"

  2. Module design, part 7: overview

    by Patrick van Bergen

    Tags: ,

    pb3zoom.png

    This article concludes the series on ProBase module design. It provides an overview of the main parts of the architecture and shows how the previous articles fit in.

    Read more about "Module design, part 7: overview"

  3. Module design, part 6: Inter-module queries

    by Patrick van Bergen

    Tags: ,

    shake hands

    I will now address a tricky part of module separation: database queries that access the data stores of separate modules.

    Read more about "Module design, part 6: Inter-module queries"

  4. A Regular Expressions Builder

    by Patrick van Bergen

    Tags: ,

    lego

    An interesting idea: attack the hardness of regular expressions with the power of fluent interfaces.

    Read more about "A Regular Expressions Builder"

  5. Module design, part 5: Model View Controller - Logic

    by Patrick van Bergen

    Tags: ,

    4 friends

    We found that business logic is such an important aspect of an application that it  deserves a special place in the Model View Controller architecture.

    Read more about "Module design, part 5: Model View Controller - Logic"

  6. Module design, part 4: Repositories

    by Patrick van Bergen

    Tags: ,

    repository.jpg

    In the first part in this series I mentioned that a business object should not not have a save() function to save itself to the database. It should just have simple getters and setters. This way an object is lightweight and very flexible.

    Read more about "Module design, part 4: Repositories"

  7. Module design, part 3: The Index

    by Patrick van Bergen

    Tags: ,

    library index.jpg

    In this part I will explain how ProBase hands a page-request over to the right function.

    Read more about "Module design, part 3: The Index"

  8. Module design, part 2: Dependencies and The API Factory

    by Patrick van Bergen

    Tags: ,

    factory.jpg

    In the first part of this series I handled the module API. I showed that it is a protective shield around the module that keeps it from being bound to other modules. In this part I will put it to work and show how it deals with its dependencies: the other modules on which it depends.

    Read more about "Module design, part 2: Dependencies and The API Factory"

  9. Module design, part 1: The Module API

    by Patrick van Bergen

    Tags: ,

    api_wall.jpg

    In this series I will explain some of the techniques we use at Procurios to develop software. In our framework, called ProBase, we use modules to partition our codebase. While this is not unusual, in the past ten years we have developed some of our own ways to deal with the complexity of a large codebase. I would like to share this knowledge because we hope it may benefit other projects as well, and we would like to spark your interest in our company: we are looking for enthousiastic developers.

    Read more about "Module design, part 1: The Module API"

  10. Using SHA1 hashes to identify files

    by Patrick van Bergen

    Tags:

    sha1.png

    The question posed here is: is it safe to use the SHA1 hash of a file to identify it?

    Read more about "Using SHA1 hashes to identify files"