Mika A.

Blog Simple :)

Page 3 of 4

Easy docker container managment with Kitematic

Docker is one of today’s best developer tools because of it’s power and popularity. We are used to manage our containers through the console commands and we have the docker hub to search through accessible repositories.

To make using docker even easier, they are now working on a GUI to manage docker containers. It becomes really trivial to find a container, download, configure and launch or stop it through the UI.

It’s named Kitematic and it’s in beta state as I write this post. I have tried Kitematic for a few days now and I find it really helpful. It provides an easy way to browse docker hub and download the containers I am looking for.

After download, I can set configurations for the container like ports, volume folders. I can also set environment variables for each container.

Launching a mongo or redis instance become as easy as pressing a “Play” button. The interface is really clean and intuitive so user from any level can use it.

The log of each container is also displayed so it is easy to identify problems and debug them.

Capture d’écran 2015-11-10 à 15.00.03

I would recommend this software to all developpers. It became one of the tools I use on a daily basis on different projects.  To get it, just go to https://kitematic.com. Here is a quick overview of the tool :

 

My first steps with AngularJS

After singing along with the Flatlanders family (video above), I started my first steps with AngularJS, THE framework of the moment 🙂 .

AngularJS was launched a few time ago and he is more and more used in web applications, especially for single-page one. I began to be really interested to know more about this framework and see why it is so popular.

There are so many resources available online to learn it but I started with Shaping Up With AngularJS from CodeShcool. They teach AngularJS in a very simple way : the instructor gives a brief explanation of a concept and the user can practice it through a set of challenges, directly in his browser.

I learned the basics of AngularJS and I can now write my own app using it.

I hope you will enjoy this course as much as I did.

 

* Image copyright Jason Nelson http://www.freeimages.com/photo/the-first-steps-3-1345590

SharePoint – Build a CAML query, the easy way with U2U CAML Query Builder

I am currently building a SharePoint application for one of our client to collect data from their site and create a dashboard.

Unlike “traditionnal” web applications, SharePoint apps don’t access data using SQL (or NoSQL..). Instead, they use CAML language to build a query  and get data from SharePoint. This language uses markups based on the XML format. Here is a quick example of  a CAML query:

<Query>
   <Where>
      <And>
         <Eq>
            <FieldRef Name='ContentType' />
            <Value Type='Computed'>Custom Type</Value>
         </Eq>
         <Or>
            <IsNull>
               <FieldRef Name='Etat' />
            </IsNull>
            <Eq>
               <FieldRef Name='Etat' />
               <Value Type='Choice'>Nouveau</Value>
            </Eq>
         </Or>
      </And>
   </Where>
</Query>

We can see tags like Where, Eq, IsNull, etc… that describe the data we want and the conditions to get them.

Anyway, it can become really hard to build a query from scratch when conditions and request become complex and I looked for a tool to help me. I found U2U CAML Query Builder was really helpful and easy to use.

After downloading and installing the software, I am prompted to login to a SharePoint site when I launch the application.

u2u3

After that, U2U CAML Query Builder will load all the lists from the SharePoint site and I can select the one where I want to build my query. After this, I can select my query components and execute the query to check it’s correct. All attributes from lists items are already loaded and I can select any of them like title, creation date, content type, etc…

u2u1

And when my query is ready, I can just copy it in CAML format or grab the CSOM or server snippet that execute the query. This tool is a real time-saver!!

Comments are really welcomed if you know any similar tool.

Page 3 of 4

Powered by WordPress & Theme by Anders Norén