<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Learn, Think, Create - Latest Comments</title><link>http://cheghamwassim.disqus.com/</link><description>YET ANOTHER BLOG ABOUT JAVASCRIPT, ANGULARJS, HTML5… BY WASSIM CHEGHAM.</description><atom:link href="https://cheghamwassim.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 08 Jun 2017 14:47:01 -0000</lastBuildDate><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-3348852068</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Whe I run: 'node --version' got not such file or directory /kunden/homepages/45/d652000401/htdocs/usr/bin/node-v6.11.0-linux-x86/bin/node:&lt;/p&gt;&lt;p&gt;and It exist.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hizmarck</dc:creator><pubDate>Thu, 08 Jun 2017 14:47:01 -0000</pubDate></item><item><title>Re: Serveur SOAP avec PHP5</title><link>http://wassimchegham.com/blog/serveur-soap-avec-php5#comment-3278657857</link><description>&lt;p&gt;Bonjour.&lt;br&gt;Merci pour ces réponse vraiment merci.&lt;br&gt;Pour l'application android j'utilise un développement hybride donc simplement du html5 css3 et javascript. Dans l'application, l'utilisateur doit envoyer une image depuis son dossier des images au serveur qui stockera l'image dans un répertoire du serveur.&lt;br&gt;Concernant REST, j'ai fait quelques recherches mais rien de concret toujours les mêmes problèmes que soap. Je me suis orienté vers soap  car i y avait plus de tutos pour comprendre l'astuce.&lt;br&gt;J'ai écrit ce texte sans cliquer sur ce lien &lt;a href="https://developers.google.com/drive/v3/web/quickstart/android" rel="nofollow noopener" target="_blank" title="https://developers.google.com/drive/v3/web/quickstart/android"&gt;https://developers.google.c...&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;J'ai pensé à utiliser ajax pour l'objet xmlhttprequest que j'ai vu en théorie au cours de développement mobile hybride avec notamment node.js&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NarraganLarson</dc:creator><pubDate>Fri, 28 Apr 2017 08:02:01 -0000</pubDate></item><item><title>Re: Serveur SOAP avec PHP5</title><link>http://wassimchegham.com/blog/serveur-soap-avec-php5#comment-3275590269</link><description>&lt;p&gt;Salut, &lt;br&gt;1) Dans cet exemple, la partie client.php fait office du client qui se connecte sur le serveur. Dans ton cas, ce sera l'application Android qui se connectera sur le serveur. Donc, ton client est l'application Android. Tu n'auras pas de client.php!&lt;br&gt;2) ton service web doit offrir des accès à des ressources. Il n'y a pas de lien entre les view de ton application Android et tes services. Par exemple, tu peux avoir 1 view Android qui fait appel à 4 operations de ton service web.&lt;br&gt;3) c'est très spécifique à ton application. Voici un tuto: &lt;a href="https://developers.google.com/drive/v3/web/quickstart/android" rel="nofollow noopener" target="_blank" title="https://developers.google.com/drive/v3/web/quickstart/android"&gt;https://developers.google.c...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Conseil: je te recommande de coder une API REST plutôt qu'un SOAP. J'ai écrit ce tuto il y a 6 ans, à l'époque SOAP était la norme. Aujourd'hui REST est très recommandé.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Wed, 26 Apr 2017 14:04:45 -0000</pubDate></item><item><title>Re: Serveur SOAP avec PHP5</title><link>http://wassimchegham.com/blog/serveur-soap-avec-php5#comment-3275360233</link><description>&lt;p&gt;Bonjour.&lt;br&gt;étant débutant en service web, j'ai quelques questions. &lt;br&gt;(1) Si je crée un site web qui offre des services et que je développe une application android qui fait appel aux services du site, est-ce que la partie client.php devra être mise dans le code de l'application? ou dans le projet du site?&lt;br&gt;(2) Si chaque page est un service offert, autant de pages que des opérations dans le fichier wsdl?&lt;br&gt;(3) Comment seront afficher les résultats dans l'application si le format est en xml ou json? ce côté est ambigü pour moi car dans plusieurs tuto les résultats étaient avec des balises pour xml et syntaxe json.&lt;br&gt;En gros c'est là mon problème. Je voudrais que mon application appelle les services de mon site en les affichant de manière cool!!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NarraganLarson</dc:creator><pubDate>Wed, 26 Apr 2017 11:51:52 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-2673292842</link><description>&lt;p&gt;same problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">brickgale</dc:creator><pubDate>Fri, 13 May 2016 03:42:13 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-2536258467</link><description>&lt;p&gt;So I followed every instruction only having to modify the download, since that version is unavailable. Their latest release is 5.7, but I went for 4.3.1, I had to tar -xf to unzip it. I got it unzipped and moved it to ~/bin/usr, I created the .bash_export and .bashrc files with the code you posted. After all that, I only get the response that node is not a recognized command. Any ideas?&lt;br&gt;EDIT: I was able to download the version you listed above by modifying the URL from saying /latest/ to /v0.10.26/, but even with that version I've been unable to get 1and1 to recognize node as a bash command. I am thoroughly confused.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wake Array</dc:creator><pubDate>Fri, 26 Feb 2016 01:33:04 -0000</pubDate></item><item><title>Re: AngularJS expliqué en patrons de conception, épisode 6 : bonus</title><link>http://wassimchegham.com/blog/angularjs-explique-en-patrons-de-conception-design-pattern-episode-6-module-data-mapper-observer-service#comment-2456821682</link><description>&lt;p&gt;Thanks Gerard ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Thu, 14 Jan 2016 05:10:41 -0000</pubDate></item><item><title>Re: AngularJS expliqué en patrons de conception, épisode 6 : bonus</title><link>http://wassimchegham.com/blog/angularjs-explique-en-patrons-de-conception-design-pattern-episode-6-module-data-mapper-observer-service#comment-2456350769</link><description>&lt;p&gt;Nice! Coming from &lt;a href="https://angular.io/news.html" rel="nofollow noopener" target="_blank" title="https://angular.io/news.html"&gt;https://angular.io/news.html&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gerard Sans</dc:creator><pubDate>Wed, 13 Jan 2016 20:03:54 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1556654403</link><description>&lt;p&gt;Hola que tal amigo!!! muchas Gracias me sirvio tu tutorial despues de unos dias lo logre instalar!!! :D&lt;/p&gt;&lt;p&gt;node --version&lt;br&gt;v0.10.31&lt;/p&gt;&lt;p&gt;Hosting Shared 1and1&lt;/p&gt;&lt;p&gt;GRACIAS!!! :D&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andres Maceda</dc:creator><pubDate>Sun, 24 Aug 2014 02:46:30 -0000</pubDate></item><item><title>Re: HTML5 Android Pattern LockScreen</title><link>http://wassimchegham.com/blog/html5-android-pattern-lockscreen#comment-1534148052</link><description>&lt;p&gt;Thanks Rach. Feel free to fork the github repo and submit PR. &lt;br&gt;Also, feel free to ask questions, I'll be happy to help you get familiar with the canvas API.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Fri, 08 Aug 2014 17:32:27 -0000</pubDate></item><item><title>Re: HTML5 Android Pattern LockScreen</title><link>http://wassimchegham.com/blog/html5-android-pattern-lockscreen#comment-1534138503</link><description>&lt;p&gt;Hi man. you did a great job here.&lt;br&gt;So her I am after two years (from your article) I thought it will be nice to have a jquery plugin for that amazing screen locker. I knew I'll find some one already did it and her you go .. (and yeah you are not the only one). but any way I'm gonna try to do it in my way. I downloaded your source code and I will dig in it hoping that it will help me cause I'm newbie to html5 canvas.&lt;br&gt;Again .. thank you so much.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rachid Akdim</dc:creator><pubDate>Fri, 08 Aug 2014 17:25:00 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1514674243</link><description>&lt;p&gt;It's much easier just to use Node.js on Heroku... for free! They even include a shared SSL certificate at no charge.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Colin Skow</dc:creator><pubDate>Thu, 31 Jul 2014 01:52:43 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1353115984</link><description>&lt;p&gt;I think that step 1.4 and 1.5 are unnecessary.&lt;br&gt;All steps in section 2 are correct. But you will have to repeat these steps (2.1 -&amp;gt; 2.4) each time you log in.&lt;/p&gt;&lt;p&gt;After step 1.6, it seems that everything is working fine. And the error you have in step 1.8 indicates that NdeJs is running well, but you just misspelled the command line argument "--version". It is two dashes before the keyword "version". Or if you like, use one dash with the character "v".&lt;br&gt;For instance:&lt;br&gt;You should type: node --version&lt;br&gt;Or: node -v&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Thu, 24 Apr 2014 04:46:01 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1352905173</link><description>&lt;p&gt;I did until the 4th, right after I tried two ways and none worked (sorry, I'm newbie in linux):&lt;/p&gt;&lt;p&gt;1 -&lt;/p&gt;&lt;p&gt;1.1 - In the main folder, I created the file .bash_export and .bashrc (because it did not exist). &lt;br&gt;1.2 - I opened the file .bash_export and I put "export PATH=$PATH:$HOME/usr/bin/nodejs/bin"&lt;br&gt;1.3 - I opened the file .bashrc I put "source $HOME/.bash_export". &lt;br&gt;1.4 - In the SSH, I typed: ./.bashrc&lt;br&gt;1.5 - Result: Permission denied.&lt;/p&gt;&lt;p&gt;1.6 - I tried type too: source ~/.bashrc&lt;br&gt;1.7 - I typed: node -version&lt;br&gt;1.8 - Result:&lt;br&gt;Error: unrecognized flag -version&lt;br&gt;Try --help for options&lt;/p&gt;&lt;p&gt;2 -&lt;/p&gt;&lt;p&gt;2.1 - I typed: export PATH=$PATH:$HOME/usr/bin/nodejs/bin&lt;br&gt;2.2 - I typed: source $HOME/.bash_export&lt;br&gt;2.3 - I typed: node -version &lt;br&gt;2.4 - Results: &lt;br&gt;Error: unrecognized flag-version &lt;br&gt;Try --help for options&lt;/p&gt;&lt;p&gt;And I'm logged by uXXXXXXXX.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrique</dc:creator><pubDate>Wed, 23 Apr 2014 23:10:13 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1352512488</link><description>&lt;p&gt;you're welcome, sir ^^&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Wed, 23 Apr 2014 17:19:57 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1352505257</link><description>&lt;p&gt;Okay great - thanks so much!  That is great information on hosting as well.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Newman</dc:creator><pubDate>Wed, 23 Apr 2014 17:14:55 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1352461644</link><description>&lt;p&gt;On UNIX systems, whenever you edit your .bashrc file, you have to source it again in order to apply your changes.&lt;br&gt;So, yes. You need to: source ~/.bashrc&lt;/p&gt;&lt;p&gt;Could you explain exactly what did you do before you get this error ? Are you logged as the main user (uXXXXXXXX) to you machine, or a different user (uXXXXXXXX-YYYYY) ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Wed, 23 Apr 2014 16:45:18 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1352436984</link><description>&lt;p&gt;Unfortunately, you can't.&lt;/p&gt;&lt;p&gt;On a shared server, you are not allowed to open new ports.&lt;/p&gt;&lt;p&gt;As I mentioned in the post, those steps only allow you to experiment NodeJS — as a REPL. Don't expect to use all of NodeJs's features. Sorry.&lt;/p&gt;&lt;p&gt;However, if you really want to use all of the potentiel of Node, here is a list of some Node hosting services: &lt;a href="https://github.com/joyent/node/wiki/node-hosting" rel="nofollow noopener" target="_blank" title="https://github.com/joyent/node/wiki/node-hosting"&gt;https://github.com/joyent/n...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Wed, 23 Apr 2014 16:29:14 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1352340282</link><description>&lt;p&gt;I added  "export PATH=$PATH:$HOME/usr/bin/nodejs/bin" in the .bash_export file and "source $HOME/.bash_export" to ./bashrc file.&lt;/p&gt;&lt;p&gt;Have I to run this files?&lt;/p&gt;&lt;p&gt;I tried to run, the following message appeared: Permission denied.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrique</dc:creator><pubDate>Wed, 23 Apr 2014 15:40:32 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1347882338</link><description>&lt;p&gt;Okay, that is great - it works for me now.  However, in the sample I am working on, I want to listen on port 8888.  Can you do that on 1and1?&lt;/p&gt;&lt;p&gt;The server.js code that I am trying to run is:&lt;/p&gt;&lt;p&gt;var http = require("http");&lt;/p&gt;&lt;p&gt;http.createServer(function(request, response) {&lt;br&gt;  response.writeHead(200, {"Content-Type": "text/plain"});&lt;br&gt;  response.write("Hello World");&lt;br&gt;  response.end();&lt;br&gt;}).listen(8888);&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Newman</dc:creator><pubDate>Sun, 20 Apr 2014 20:14:30 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1347492344</link><description>&lt;p&gt;Hi, I have updated this blog post. Please read the new how to and thx for your feedbacks.&lt;/p&gt;&lt;p&gt;&lt;a href="http://cheghamwassim.com/blog/install-node-js-on-1and1-shared-server#updates" rel="nofollow noopener" target="_blank" title="http://cheghamwassim.com/blog/install-node-js-on-1and1-shared-server#updates"&gt;http://cheghamwassim.com/bl...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Sun, 20 Apr 2014 12:37:40 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1347492022</link><description>&lt;p&gt;Hi, I have updated this blog post. Please read the new how to. thx for your feedbacks.&lt;/p&gt;&lt;p&gt;&lt;a href="http://cheghamwassim.com/blog/install-node-js-on-1and1-shared-server#updates" rel="nofollow noopener" target="_blank" title="http://cheghamwassim.com/blog/install-node-js-on-1and1-shared-server#updates"&gt;http://cheghamwassim.com/bl...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wassim Chegham</dc:creator><pubDate>Sun, 20 Apr 2014 12:37:18 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1346510632</link><description>&lt;p&gt;I also get the error with the memory&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex</dc:creator><pubDate>Sat, 19 Apr 2014 15:01:59 -0000</pubDate></item><item><title>Re: [Updated] Install Node.js on 1and1 shared server</title><link>http://wassimchegham.com/blog/install-node-js-on-1and1-shared-server#comment-1285779542</link><description>&lt;p&gt;I get this error:&lt;/p&gt;&lt;p&gt;virtual memory exhausted: Cannot allocate memory&lt;br&gt;scons: *** [obj/release/objects.o] Error 1&lt;br&gt;scons: building terminated because of errors.&lt;br&gt;Waf: Leaving directory `/homepages/32/d208497108/htdocs/tmp/node-v0.6.12/out'&lt;br&gt;Build failed:  -&amp;gt; task failed (err #2):&lt;br&gt;{task: libv8.a SConstruct -&amp;gt; libv8.a}&lt;br&gt;make: *** [install] Error 1&lt;/p&gt;&lt;p&gt;Is my account smaller than yours?  I just have the highest shared package (I think developer) on 1and1.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Newman</dc:creator><pubDate>Sat, 15 Mar 2014 10:47:59 -0000</pubDate></item><item><title>Re: Serveur SOAP avec PHP5</title><link>http://wassimchegham.com/blog/serveur-soap-avec-php5#comment-1140948572</link><description>&lt;p&gt;Merci pour ce tuto, enfin un tuto clair, et sans bug !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olivier Vangest</dc:creator><pubDate>Wed, 27 Nov 2013 05:33:18 -0000</pubDate></item></channel></rss>