My Resume

PHP and Visual Studio 2010 : Create your own snippets

By at April 25, 2010 16:40
Filed Under: PHP, Visual Studio 2010
  I’m working with PHP and Visual Studio 2010 on a website project. (I’m using VS.Php which is a plugin allowing to develop PHP projects in Visual Studio 2010.) I like this IDE and in particular a feature :   “Insert snippet” will allow you to quickly insert codes. For instance, instead of typing the whole code of a for statement, you could use this shortcut.           As you can see, there are various snippets. (if, foreach, if, try, …) In this post, I will show you how to create your own snippet.   1.   Create an XML document To begin, create a document with the .snippet extension. (It’s simply an XML document) In the XML document, right-click and choose “Insert snippet” then “snippet”.   You will obtain something like that : (This is the template for all snippets)     2.   Customize it ! You could change these properties : - Title - Author - Shortcut  - Code Language to PHP   But the most interesting is inside the “Code” tag. Within <![CDATA[ … ]]> you must write the code associated to your shortcut.   I wrote this :             3.   Import it into Visual Studio 2010   Once you have wrote the code, you just have to import it in Visual Studio. To do this : “Tools” then “Code Snippets Manager”.     After, you must select your .snippet file and choose its location. (By default there is only the PHP folder. But if you want to add your folder, instead of clicking on the “Import” button, choose “Add”)       You will obtain that and now you can use your customized snippet in your code by right-clicking !       Charles

[FR] Visual Studio 2010 : Je veux faire du PHP !

By Charles NICOLAS at April 15, 2010 03:24
Filed Under: PHP, Visual Studio 2010
Vous souhaiteriez faire du PHP avec votre IDE préféré soit Visual Studio 2010 :) ?   Comme vous le savez peut-être, il est déjà possible de faire du PHP avec Visual Studio 2008. Le plugin qui s’ajoute à VS08 et qui nous permet donc de faire du PHP se nomme VS.Php.   Ce plugin est également disponible pour Visual Studio 2010. Je vous invite à vous rendre sur http://www.jcxsoftware.com/ si vous souhaitez avoir plus d’informations sur le produit et les licences. (La dernière version en date est la 2.9)   Ci-dessous la fenêtre qui apparaitra juste avant la création de votre projet PHP.         Liste des templates disponibles.       Si vous souhaitez commencer à l’utiliser, je vous redirige vers le Coach PHP disponible sur le MSDN à cette adresse : http://msdn.microsoft.com/fr-fr/vstudio/msdn.coach.vsphp.aspx (avec Visual Studio 2008)   Bon code !   Charles

[FR] Visual Studio 2010 beta 2: Après les abonnés MSDN, le grand public

By at October 21, 2009 17:40
Filed Under: Visual Studio 2010
Visual Studio 2010 accompagné du .NET Framework 4.0 a vu le jour le 20 octobre 2009 pour les abonnées MSDN, aujourd’hui il est enfin disponible pour le grand public.   Sans plus attendre, le lien du téléchargement : http://www.microsoft.com/france/visualstudio/try/default.mspx   Petit rappel, Visual Studio 2010 beta 1 était disponible le 18 mai dernier et proposait les éditions suivantes : - Professional - Team Foundation   Six mois plus tard, comment se porte cette nouvelle beta ?     Comme vous aurez pu l’apercevoir, le logo a changé :       Nouveau logo       NB: Cette nouvelle version de Visual Studio 2010 est également au couleur du nouveau MSDN, qui a été relooké le 17/10/09.     De plus, les éditions pour ce Visual Studio 2010 beta 2 ont subi également quelques modifications : - Professional - Premium - Ultimate   Pour connaitre les différences entre ces éditions, je vous invite à vous rendre sur http://www.microsoft.com/france/visualstudio/products/2010/default.mspx#compare     Avant de vous laisser tester tout cela, voici quelques screenshots :)     Le splashscreen de VS10 beta 2                                                  Page de démarrage de VS10 beta 2       Et pour finir, l’environnement de travail :    Environnement de travail de VS10 beta 2     Charles.

My Mobile Website

NICOLAS Charles site web mobile qr code

Flash it with your mobile phone (use mobiletag, codeonline or any other apps)


Or simply go here : http://charles-nicolas.mobi/

eBusiness/ Digital Project Manager @ Viadigis & eBusiness entrepreneur

2010/2011 : Student at Oxford Brookes University (UK) in E-Business (MSc)

2009/2010 : Student at SUPINFO Metz (FR) in Computer Science and Information Technology (MSc)


You could find my CV there : CV