<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mim.Armand &#187; development</title>
	<atom:link href="http://armand.eu/blog/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://armand.eu/blog</link>
	<description>Artist, inventor and developer!</description>
	<lastBuildDate>Wed, 24 Jun 2015 12:02:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.2</generator>
	<item>
		<title>BaaS (Backend as a service) review &#8211; 2014</title>
		<link>http://armand.eu/blog/baas-backend-as-a-service-review-2014/</link>
		<comments>http://armand.eu/blog/baas-backend-as-a-service-review-2014/#comments</comments>
		<pubDate>Wed, 10 Sep 2014 11:07:56 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[app]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[BaaS]]></category>
		<category><![CDATA[backend]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[MBaaS]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=84</guid>
		<description><![CDATA[For my projects I was studying some of the services available today and to keep track of the results in future and also to share them with anyone who would be interested I&#8217;ll put a list of services I found promising here: FireBase Apigee appcelerator AWS Mobile Services CloudMine FeedHenry IBM BlueMix Kinvey Kony Microsoft &#8230; <a href="http://armand.eu/blog/baas-backend-as-a-service-review-2014/" class="more-link">Continue reading <span class="screen-reader-text">BaaS (Backend as a service) review &#8211; 2014</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_85" style="width: 964px;" class="wp-caption aligncenter"><img class="size-full wp-image-85" src="http://armand.eu/blog/wp-content/uploads/2014/09/Firewall.png.jpg" alt="MBaaS (Mobile Backend as a Service)" width="964" height="336" /><figcaption class="wp-caption-text">MBaaS (Mobile Backend as a Service)</figcaption></figure>
<p>For my projects I was studying some of the services available today and to keep track of the results in future and also to share them with anyone who would be interested I&#8217;ll put a list of services I found promising here:</p>
<ul>
<li><a title="Firebase" href="https://www.firebase.com/" target="_blank">FireBase</a></li>
<li><a title="Apigee" href="https://apigee.com" target="_blank">Apigee</a></li>
<li><a title="Appcelerator" href="http://www.appcelerator.com/" target="_blank">appcelerator</a></li>
<li><a title="AWS Mobile Services" href="http://aws.amazon.com/mobile/" target="_blank">AWS Mobile Services</a></li>
<li><a title="CloudMine" href="https://cloudmine.me/" target="_blank">CloudMine</a></li>
<li><a title="FeedHenry" href="http://www.feedhenry.com/" target="_blank">FeedHenry</a></li>
<li><a title="IBM BlueMix" href="www.ibm.com/bluemix" target="_blank">IBM BlueMix</a></li>
<li><a title="Kinvey" href="http://www.kinvey.com/" target="_blank">Kinvey</a></li>
<li><a title="Kony" href="http://www.kony.com/" target="_blank">Kony</a></li>
<li><a title="Microsoft Azure" href="http://azure.microsoft.com/en-us/services/mobile-services/" target="_blank">Microsoft Azure</a></li>
<li><a title="Parse" href="https://parse.com/" target="_blank">Parse</a></li>
<li><a title="Salesforce" href="https://www.salesforce.com" target="_blank">Salesforce</a></li>
<li><a title="SAP" href="http://www.sap.com" target="_blank">SAP</a></li>
</ul>
<p>Have a good day!<br />
mim, <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/baas-backend-as-a-service-review-2014/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hard at work on an InDesign plugin! (wait for beta testing release!)</title>
		<link>http://armand.eu/blog/hard-at-work-on-an-indesign-plugin-wait-for-beta-testing-release/</link>
		<comments>http://armand.eu/blog/hard-at-work-on-an-indesign-plugin-wait-for-beta-testing-release/#comments</comments>
		<pubDate>Wed, 02 Jul 2014 12:06:18 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[Adobe ExtendScript]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[beta release]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ExtendScript]]></category>
		<category><![CDATA[hard at work]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[indesign plugin]]></category>
		<category><![CDATA[mim.Armand]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=69</guid>
		<description><![CDATA[Once I said: Developing software is like panning for gold, you may find something that shines to you, but before getting it to market you just don&#8217;t know if it is real!! I&#8217;m hard at work on my first InDesign plugin! and that&#8217;s why I&#8217;m not that active for the moment here! It&#8217;s been more &#8230; <a href="http://armand.eu/blog/hard-at-work-on-an-indesign-plugin-wait-for-beta-testing-release/" class="more-link">Continue reading <span class="screen-reader-text">Hard at work on an InDesign plugin! (wait for beta testing release!)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_70" style="width: 612px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/07/Indesign_plugin_preview_02.jpg"><img class="size-full wp-image-70" src="http://armand.eu/blog/wp-content/uploads/2014/07/Indesign_plugin_preview_02.jpg" alt="In-Design plugin preview (one of the few dialogs of the UI)" width="612" height="492" /></a><figcaption class="wp-caption-text">In-Design plugin preview (one of the few dialogs of the UI)</figcaption></figure>
<p>Once I said:</p>
<blockquote><p>Developing software is like panning for gold, you may find something that shines to you, but before getting it to market you just don&#8217;t know if it is real!!</p></blockquote>
<p>I&#8217;m hard at work on my first InDesign plugin! and that&#8217;s why I&#8217;m not that active for the moment here! It&#8217;s been more than two weeks already that I started working on it and it&#8217;s going very well so far!</p>
<p>So I think I&#8217;ll be able to announce a pre-release beta testing call for it in few days (or weeks perhaps!), I worked really hard on it and the plugin with all its options won&#8217;t be available for free ( will be free during beta testing) but I will release a free version as well for folks just like myself who can&#8217;t afford paying for these kind of stuff! After all I hope to be able to sell a few of it after all these nights staying awake and writing codes till morning!</p>
<p>Please let me know if you are interested in the beta release.<br />
Also I have to pick a name for my plugin! so please let me know if you have an idea about it! :))</p>
<p>Ok, back to work! <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> have a good day!</p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/hard-at-work-on-an-indesign-plugin-wait-for-beta-testing-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>manage paths in Adobe Extend-Script</title>
		<link>http://armand.eu/blog/manage-paths-in-adobe-extend-script/</link>
		<comments>http://armand.eu/blog/manage-paths-in-adobe-extend-script/#comments</comments>
		<pubDate>Wed, 25 Jun 2014 18:45:45 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[Adobe ExtendScript]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Absolute path]]></category>
		<category><![CDATA[Adobe CS]]></category>
		<category><![CDATA[Adobe extend-script]]></category>
		<category><![CDATA[AES]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Paths]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Relative path]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=62</guid>
		<description><![CDATA[Managing paths obtained from Adobe Extend-Script, Specially when you want to share these paths with an external 3th application (to do things which aren&#8217;t possible with just ExtendScript) is kind of difficult! For instance let&#8217;s say we want to get the Path of an In-Design file being opened (and in front) in in-Design, we may &#8230; <a href="http://armand.eu/blog/manage-paths-in-adobe-extend-script/" class="more-link">Continue reading <span class="screen-reader-text">manage paths in Adobe Extend-Script</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_66" style="width: 674px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/Header_cs_sdk_brnd_ex.jpg"><img class="size-full wp-image-66" src="http://armand.eu/blog/wp-content/uploads/2014/06/Header_cs_sdk_brnd_ex.jpg" alt="Adobe Exten-Script (source: internet)" width="674" height="208" /></a><figcaption class="wp-caption-text">Adobe Exten-Script (source: internet)</figcaption></figure>
<p>Managing paths obtained from Adobe Extend-Script, Specially when you want to share these paths with an external 3th application (to do things which aren&#8217;t possible with just ExtendScript) is kind of difficult!<br />
For instance let&#8217;s say we want to get the Path of an In-Design file being opened (and in front) in in-Design, we may simply do:</p>
<p><script src="https://gist.github.com/mim-Armand/10bf1ff8483dc5d7ad5c.js"></script><br />
 And get:</p>
<figure id="attachment_63" style="width: 299px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_01.jpg"><img class="size-full wp-image-63" src="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_01.jpg" alt="alert(app.activeDocument.filePath);" width="299" height="181" /></a><figcaption class="wp-caption-text">alert(app.activeDocument.filePath);</figcaption></figure>
<p>But there is obviously 3 (+1 not obvious here!) possible problems with this path (even if you can transfer that variable as easily as shout it out in an alert! <small>look at #3</small>):</p>
<ol>
<li>the Tilde (<a title="Tilde on Wikipedia!" href="http://en.wikipedia.org/wiki/Tilde" target="_blank"><code>~</code></a>) character at the beginning, an environment variable meaning &#8220;<a title="Home Directory Path" href="http://en.wikipedia.org/wiki/Home_directory" target="_blank">Home Directory</a>&#8220;, which is not a recognizable standard character in all the different programing environments (for instance it&#8217;d be <a title="Batch parameters" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true" target="_blank"><code>%~dp0</code></a> in <a title="Windows Batch Scripting" href="http://en.wikibooks.org/wiki/Windows_Batch_Scripting" target="_blank">Batch scripting</a> and <code><a title="System Properties in Java" href="http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html" target="_blank">user.home</a></code>, (<a title="Bug # 4787391 (mostly Windows Fault than Java!)" href="http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4787931" target="_blank">more or less!</a>) in Java) although it is supposed to be the absolute path using above code!</li>
<li>existence of Slash characters (<a title="Slash character" href="http://en.wikipedia.org/wiki/Slash_%28punctuation%29" target="_blank"><code>/</code></a>) in the path instead of Backslash (<a title="Backslash character" href="http://en.wikipedia.org/wiki/Backslash" target="_blank"><code>\</code></a>), making it hard (not so much tho!) to send it through a <a title="JSON (JavaScript Object Notation)" href="http://json.org/" target="_blank">JSON</a> package for example (or save it in a <a title="Batch File" href="http://en.wikipedia.org/wiki/Batch_file" target="_blank">batch file</a> -again- for instance), be-cause in most environments it&#8217;d be considered as a <a title="Escape characters" href="http://en.wikipedia.org/wiki/Escape_character" target="_blank">escape character</a> and not a path level separator.</li>
<li>It is an object and not a string (apparently!) and you can send, save or sometimes even use the <a title="myPath var in the above Gist" href="https://gist.github.com/mim-Armand/10bf1ff8483dc5d7ad5c#file-aes_path_01-jsx" target="_blank"><code>myPath</code> </a>variable for instance directly! (it will give you an <code>[object]</code> instead of the path, <small>which I <b>guess</b> should be the parent <code>File object</code> itself</small>)</li>
<li>in addition if our file wasn&#8217;t in our Desktop folder and was in a disk drive instead, we would have this problem too:
<figure id="attachment_64" style="width: 164px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_02.jpg"><img class="size-full wp-image-64" src="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_02.jpg" alt="alert(app.activeDocument.filePath);" width="164" height="181" /></a><figcaption class="wp-caption-text">alert(app.activeDocument.filePath);</figcaption></figure>
<p>as you can see, an additional Slash character (<a title="Slash character" href="http://en.wikipedia.org/wiki/Slash_%28punctuation%29" target="_blank"><code>/</code></a>) before the Drive letter (c)! which is incomprehensible to me why it is!! but it seems that Extend-Script itself doesn&#8217;t have any problem with it, but as I said when you want o communicate with 3th party apps it will become a problem immediately!
</li>
<p>    So as you may guess there is a lot of solutions for any and each of mentioned problems, but here I just wanted to suggest the most convenient one I figured out after trying a lot of different shenanigan techniques!<script src="https://gist.github.com/mim-Armand/1124e39b165172f1129e.js"></script><br />
Here we used <a title="Regulra expressions" href="https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions" target="_blank">Regular Expression</a> Patterns to <a title="str.replace(regexp|substr, newSubStr|function[,flags]);" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace" target="_blank"><code>Replace()</code></a> all (by using the <code>g</code> pseudo) the Slashes with Backslashes and by using <a title="Look at the references for fsName!" href="http://www.jongware.com/idjshelp.html" target="_blank"><code>fsName</code> </a>instead of <a title="look at the references for filePath!" href="http://www.jongware.com/idjshelp.html" target="_blank"><code>filePath</code> </a>eliminating other problems (like getting &#8220;relative paths&#8221; (or fake absolutes!) instead of absolutes and the beginning slash character)<br />
And the result:</p>
<figure id="attachment_65" style="width: 398px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_03.jpg"><img class="size-full wp-image-65" src="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_03.jpg" alt="alert(app.activeDocument.fullName.parent.fsName).toString().replace(/\\/g, '/');" width="398" height="180" /></a><figcaption class="wp-caption-text">alert(app.activeDocument.fullName.parent.fsName).toString().replace(/\\/g, &#8216;/&#8217;);</figcaption></figure>
<p>Awesome! <img src="http://s.w.org/images/core/emoji/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
<small>Please let me know if you have a better idea to this or if you see a problem or something, I appreciate it <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></small><br />
mim,</p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/manage-paths-in-adobe-extend-script/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
