FrenchTech SAAS
33.5K views | +3 today
FrenchTech SAAS
Les news de l'univers SAAS et FrenchTech
Curated by Mickael Ruau
Your new post is loading...
Your new post is loading...

Popular Tags

Scooped by Mickael Ruau
December 19, 2015 1:21 AM
Scoop.it!

D.P.O. Retenez son nom, c’est le nouvel homme clef des équipes Big Data

D.P.O.  Retenez son nom, c’est le nouvel homme clef des équipes Big Data | FrenchTech SAAS | Scoop.it
C’est officiel, le nouveau règlement européen de protection des données personnelles prévoit la désignation obligatoire d’un Data Protection Officer aussi appelé "DPO".
No comment yet.
Scooped by Mickael Ruau
November 28, 2015 5:38 AM
Scoop.it!

with — Organize Complex Queries

The WITH clause provides a simple way to organize SQL code. It
works like private methods in other programming languages.
No comment yet.
Scooped by Mickael Ruau
November 23, 2015 3:11 PM
Scoop.it!

Comment Scraper Le Bon Coin avec Google Spreadsheet

Comment Scraper Le Bon Coin avec Google Spreadsheet | FrenchTech SAAS | Scoop.it
Le Bon Coin regorge de données intéressantes : nombre d’annonces, prix, localisation, catégories…
No comment yet.
Scooped by Mickael Ruau
November 13, 2015 3:19 PM
Scoop.it!

Arrêtez d’analyser votre site web et penchez vous plutôt sur votre marketing !

Arrêtez d’analyser votre site web et penchez vous plutôt sur votre marketing ! | FrenchTech SAAS | Scoop.it
Le web analytics peut fournir de nombreuses données et informations liées à la performance technique de votre site web, mais les marketeurs ont besoin de données beaucoup plus riches pour comprendre la performance de leurs campagnes marketing...
No comment yet.
Scooped by Mickael Ruau
November 10, 2015 2:26 AM
Scoop.it!

La fiabilité des SSD et disques durs à la loupe de LDLC/Hardware.fr

La fiabilité des SSD et disques durs à la loupe de LDLC/Hardware.fr | FrenchTech SAAS | Scoop.it
La fiabilité d'un produit est aussi primordiale que difficile à évaluer pour le consommateur.
No comment yet.
Scooped by Mickael Ruau
November 5, 2015 4:48 AM
Scoop.it!

Quand le Big Data s'invite dans notre quotidien ! (infographie)

Quand le Big Data s'invite dans notre quotidien ! (infographie) | FrenchTech SAAS | Scoop.it
Le Big Data est partout autour de nous, cette infographie de VoucherCloud revient sur les principaux chiffres clés du Big Data. Définition : le Big Data, c’est quoi ? En Français, le mot « Big Data » signifie littéralement un gros volume de données. Les Big Data sont donc des volumes colossales de données qui se doivent d’être …
No comment yet.
Scooped by Mickael Ruau
November 3, 2015 5:33 PM
Scoop.it!

Numeric Strings

Numeric Strings | FrenchTech SAAS | Scoop.it
SQL is a type-safe language. Using the wrong data type—e.g. VARCHAR to store numbers—can cause performance problems. How to diagnose and fix them.
No comment yet.
Scooped by Mickael Ruau
November 2, 2015 3:22 AM
Scoop.it!

How to unit-test code that interacts with a database · Baron Schwartz's Blog

I got some interesting comments on my previous article about unit testing Maatkit, including echoes of my own conversion to the unit-testing religion. One of the objections I’ve heard a lot about unit-testing is how it’s impossible to test code that talks to a database. “It’s too hard,” they say. “Oh, it’s easy to test a module that calculates a square root, but a database? Way too much work!”

No comment yet.
Scooped by Mickael Ruau
October 30, 2015 3:55 AM
Scoop.it!

What ORMs have taught me: just learn SQL

I've come to the conclusion that, for me, ORMs are more detriment than benefit. In short, they can be used to nicely augment working with SQL in a program, but they should not replace it.

Some...
No comment yet.
Scooped by Mickael Ruau
October 29, 2015 10:40 AM
Scoop.it!

PHPUnit Manual – Chapter 8. Database Testing

You probably know this scenario from your daily work and projects, where you want to put your fresh or experienced PHPUnit skills to work and get stuck by one of the following problems:

  1. The method you want to test executes a rather large JOIN operation and uses the data to calculate some important results.

  2. Your business logic performs a mix of SELECT, INSERT, UPDATE and DELETE statements.

  3. You need to setup test data in (possibly much) more than two tables to get reasonable initial data for the methods you want to test.

The DbUnit extension considerably simplifies the setup of a database for testing purposes and allows you to verify the contents of a database after performing a series of operations.

Mickael Ruau's insight:
Difficulties in Database Testing

There is a good reason why all the examples on unit testing do not include interactions with the database: these kind of tests are both complex to setup and maintain. While testing against your database you need to take care of the following variables:

  • The database schema and tables

  • Inserting the rows required for the test into these tables

  • Verifying the state of the database after your test has run

  • Cleanup the database for each new test

Because many database APIs such as PDO, MySQLi or OCI8 are cumbersome to use and verbose in writing doing these steps manually is an absolute nightmare.

Test code should be as short and precise as possible for several reasons:

  • You do not want to modify considerable amount of test code for little changes in your production code.

  • You want to be able to read and understand the test code easily, even months after writing it.

Additionally you have to realize that the database is essentially a global input variable to your code. Two tests in your test suite could run against the same database, possibly reusing data multiple times. Failures in one test can easily affect the result of the following tests making your testing experience very difficult. The previously mentioned cleanup step is of major importance to solve the “database is a global input” problem.

DbUnit helps to simplify all these problems with database testing in an elegant way.

What PHPUnit cannot help you with is the fact that database tests are very slow compared to tests not using the database. Depending on how large the interactions with your database are your tests could run a considerable amount of time. However, if you keep the amount of data used for each test small and try to test as much code using non-database tests you can easily get away in under a minute even for large test suites.

No comment yet.
Scooped by Mickael Ruau
October 29, 2015 9:21 AM
Scoop.it!

Database Testing: How to Regression Test a Relational Database

Database Testing: How to Regression Test a Relational Database | FrenchTech SAAS | Scoop.it
Relational database management systems (RDBMSs) often persist mission-critical data which is updated by many applications and potentially thousands if not millions of end users. Furthermore, they implement important functionality in the form of database methods (stored procedures, stored functions, and/or triggers) and database objects (e.g. Java or C# instances). The best way to ensure the continuing quality of these assets, at least from a technical point of view, you should have a full regression test suite which you can run on a regular basis. 
In this article I argue for a fully automated, continuous regression testing based approach to database testing. Just as agile software developers take this approach to their application code, see Agile Testing and Quality Strategies, we should also do the same for our databases.
Mickael Ruau's insight:
Table of Contents
  1. Why test an RDBMS?
  2. What should we test?
  3. When should we test?
  4. How should we test?
  5. Who should test?
  6. Introducing database testing into your organization
  7. Database testing and data inspection
  8. Best practices

- See more at: http://www.agiledata.org/essays/databaseTesting.html#sthash.BawnMh8R.dpuf

No comment yet.
Scooped by Mickael Ruau
October 29, 2015 3:10 AM
Scoop.it!

DbUnit – Database Testing

DbUnit – Database Testing | FrenchTech SAAS | Scoop.it

Richard Dallaway notes about database unit testing inspired me the realization of the DbUnit framework. I think this is a very good text about this subject. Hopefully he gave me the permission to present excerpts from his notes here.

The original text is much longer and I strongly suggest you to read it as well. See resources for reference to it. - Manuel Laflamme


No comment yet.
Scooped by Mickael Ruau
October 28, 2015 4:13 PM
Scoop.it!

Evolutionary Database Design

Evolutionary Database Design | FrenchTech SAAS | Scoop.it

Over the last few years we've developed a number of techniques that allow a database design to evolve as an application develops. This is a very important capability for agile methodologies. The techniques rely on applying continuous integration and automated refactoring to database development, together with a close collaboration between DBAs and application developers. The techniques work in both pre-production and released systems.

Mickael Ruau's insight:
Contents
No comment yet.
Scooped by Mickael Ruau
December 17, 2015 8:53 AM
Scoop.it!

Tableau de bord web - Exemple pour site ecommerce

Tableau de bord web - Exemple pour site ecommerce | FrenchTech SAAS | Scoop.it
Pour piloter votre activité e-commerce, un tableau de bord est indispensable. Il ne s’agit pas uniquement d’en avoir un, même si la démarche de construction du tableau de bord est très structurante, il faut l’utiliser et l’adapter en continu aux évolutions de son activité. Un reporting régulier permet de donner à l’ensemble des décisionnaires une vision globale de l’activité, et surtout la capacité de réévaluer les priorités ou les budgets rapidement. En matière d’e-commerce, la capacité à mesurer, tester et optimiser   l’acquisition de trafic et l’entonnoir de conversion est un facteur de succès indiscutable.

Dans cet article, nous allons balayer les différentes étapes de la construction d’un tableau de bord, en s’intéressant en particulier au cas d’un site e-commerce. Un modèle Excel de tableau de bord est en téléchargement gratuitement pour vous inspirer ou vous servir de base de départ.
No comment yet.
Scooped by Mickael Ruau
November 26, 2015 1:38 AM
Scoop.it!

Base de données : preuve d'investissements "spécifiques" > Actualités du Droit- Lamy

La Cour de cassation rappelle que la prorection dont bénéficie le producteur d'une base de données est conditionnée par la démonstration de la pr...
No comment yet.
Scooped by Mickael Ruau
November 22, 2015 3:20 AM
Scoop.it!

Utiliser EXPLAIN pour écrire de meilleures requêtes SQL | Le blog de Seboss666

Utiliser EXPLAIN pour écrire de meilleures requêtes SQL | Le blog de Seboss666 | FrenchTech SAAS | Scoop.it
No comment yet.
Scooped by Mickael Ruau
November 10, 2015 2:55 AM
Scoop.it!

Le paradoxe de Simpson

Le paradoxe de Simpson | FrenchTech SAAS | Scoop.it
Non, le paradoxe de Simpson ne tire pas son nom de Homer, mais de Edward Simpson, le statisticien qui l'a décrit pour la première fois en 1951. Il s'agit d'un de ces paradoxes mathématiques qui peu...
No comment yet.
Scooped by Mickael Ruau
November 5, 2015 5:30 AM
Scoop.it!

The Impressive ImportXML Function of Google Spreadsheet | Readish Course 1547

The Impressive ImportXML Function of Google Spreadsheet | Readish Course 1547 | FrenchTech SAAS | Scoop.it
Google Spreadsheet's ImportXML function is easy to use, and can sometimes look magical. You can use it to grab Web page or blog title and subtitles, stock prices, or movie info from IMDB. You can summarize data, extract Wikipedia table, and so much more. Here is a list of excellent tutorials. Google also has related and useful spreadsheet functions such as ImportData, ImportHTML, ImportFeed. What do you do if the new Google Sheet yield inexplicable errors? What is ImortXML from Google Spreadsheet? How can I use them? What are some examples of use? Where can I find simple and effective tutorials to learn from? Where can I find sample codes? What other Google Spreadsheet functions are there? What do I do if the importXML function yield error about parsing? Try the older Google Sheet http://g.co/oldsheets
No comment yet.
Scooped by Mickael Ruau
November 4, 2015 8:51 AM
Scoop.it!

Symantec détecte une campagne d'attaques ciblant les serveurs MySQL, afin de les utiliser pour mener des attaques DDoS sur le Web

Symantec détecte une campagne d'attaques ciblant les serveurs MySQL, afin de les utiliser pour mener des attaques DDoS sur le Web | FrenchTech SAAS | Scoop.it

Pour que ces attaques DDoS découvertes par Symantec puissent s’opérer, les auteurs injectent dans les serveurs MySQL une fonction définie par l’utilisateur (UDF) malicieuse. Cette fonction se nomme Downloader.Chikdos et demeure sur le système de fichiers du serveur. C’est cette dernière qui va télécharger la charge utile qui n’est autre que le malware Chikdos.

Mickael Ruau's insight:

Pour s’en prémunir, Symantec souligne que « les serveurs SQL ne devraient pas être exécutés avec des privilèges administrateur dans la mesure du possible. Les applications qui utilisent le serveur SQL doivent être corrigées régulièrement et suivre de bonnes pratiques de programmation pour atténuer les vulnérabilités d’injection SQL ». Enfin, l’entreprise conseille de « vérifier la présence de nouveaux comptes utilisateurs et de veiller à ce que les services d’accès à distance soient configurés en toute sécurité ».

No comment yet.
Scooped by Mickael Ruau
November 2, 2015 8:17 AM
Scoop.it!

Unit Testing the Data Access Layer - 4GuysFromRolla.com

Unit testing is becoming very popular among .NET projects, but unit testing the Data Access Layer (DAL) still remains a common obstacle. The problem stems from the very nature of databases: they are slow, common, persistent, external, and relational. This conflicts the nature of unit tests, which should be quick, independent, and repeatable. Looking at the criteria for good unit tests (from Pragmatic Unit Testing in C# with NUnit, Andrew Hunt and David Thomas), it's easy to see why.
No comment yet.
Scooped by Mickael Ruau
October 30, 2015 4:59 AM
Scoop.it!

Tutoriel sur une alternative à DBUnit : AssertJ-DB en 5 minutes

Tutoriel sur une alternative à DBUnit : AssertJ-DB en 5 minutes | FrenchTech SAAS | Scoop.it
Tutoriel sur une alternative à DBUnit : AssertJ-DB en 5 minutes
No comment yet.
Scooped by Mickael Ruau
October 29, 2015 11:42 AM
Scoop.it!

Writing Tests for Data Access Code – Unit Tests Are Waste

Writing Tests for Data Access Code – Unit Tests Are Waste | FrenchTech SAAS | Scoop.it
A few years ago I was one of those developers who write unit tests for my data access code. I was testing everything in isolation, and I was pretty pleased with myself. I honestly thought that I was doing a good job.

Oh boy was I wrong!

This blog post describes why we shouldn’t write unit tests for our data access code and explains why we should replace unit tests with integration tests.

Let’s get started.
Mickael Ruau's insight:
Unit Tests Answers to the Wrong Question

We write tests for our data access code because we want to know that it works as expected. In other words, we want to find the answers to these questions:

  1. Is the correct data stored to the used database?
  2. Does our database query return the correct data?

Can unit tests help us to find the answers we seek? 

Well, one of the most fundamental rules of unit testing is that unit tests shouldn’t use external systems such as a database.

No comment yet.
Scooped by Mickael Ruau
October 29, 2015 9:40 AM
Scoop.it!

Easy Mocking of Your Database

Easy Mocking of Your Database | FrenchTech SAAS | Scoop.it
The importance of doing the right test-driven development is to find a good ratio of what kind of code is to be covered…

by automated unit tests
by automated integration tests
by manual “smoke tests”
by manual “acceptance tests”
not at all
Finding that ratio can be grounds for heated, religious discussions. I will soon blog about my own opinion on that subject. In this post, however, we will focus on the first kind of test: unit tests.
No comment yet.
Scooped by Mickael Ruau
October 29, 2015 4:57 AM
Scoop.it!

Modélisation Cassandra

Modélisation Cassandra | FrenchTech SAAS | Scoop.it
Modélisation Cassandra
No comment yet.
Scooped by Mickael Ruau
October 28, 2015 4:50 PM
Scoop.it!

Database unit testing, are we all doing it wrong? - Redgate Software

Database unit testing, are we all doing it wrong? - Redgate Software | FrenchTech SAAS | Scoop.it
This week at Redgate HQ we’ve been lucky enough to have a visit from Dave Farley, Continuous Delivery evangelist and co-author of the book Continuous Delivery. In one of our discussions we started talking about database unit testing. Pretty soon we realized we both meant something fundamentally different when we called something a database unit …
No comment yet.