Tag Archives: html

List of XML and HTML character entity references

Quick post for myself 🙂 While I’m writing xml files, always always forget how to type entities. Here is the link from wikipedia

Sometimes, in xml attributes I need to use “&” character, but it can be problematic. And, I can’t find any solution for this issue. We can use  <![CDATA[ ]]> for xml nodes, but not for attributes. So for me the only possible way is to use character entities. eg:

//in xml node
<content><![CDATA[me & others]]></content>

//in xml node
<content title="me amp&; other"/>


Redirecting domains to www with .htaccess file

If you have Linux server on your web site, you can easily redirect your “domain.com” to “www.domain.com” with .htaccess file. Every Linux based servers have .htaccess file. However, because of the “.”, it’s a hidden file. So, you can’t view unless you set your ftp client’s “view” property to “show invisible files”. You can turn on “show invisible files” with most of the ftp clients such as FileZilla, Transmit and etc…Even if you enable “show invisble files”, can’t you see the file? So there is an easy way. Just create by yourself in one of the text edit software such as Textedit or Notpad.

1- Open a blank document file with Notepad or Text Edit.


Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

**change domain.com and www.domain.com with your domain name.

3- Save the file as .htaccess without any extension.

4- Upload the file to your server with your ftp client

that’s all. Now check your browser and it’ll work. If you type onto your browser “http://domain.com”, it will be redirected to “http://www.domain.com”

50 Powerful Time-Savers For Web Designers

the following text and links are taken from http://www.smashingmagazine.com web site.

“Being a web designer is not easy. Not only do we need to have a good understanding about visual design, typography, information architecture, psychology and a plethora of other disciplines; in our work, we need to take care of so many details, so that our job becomes more and more time-consuming, requiring dozens of tools, attention span and an effective workflow for beautiful, timely and functional results.

And this is where small time-savers become handy. Be it a handy checklist, batch installer, dummy image generator or converter from Excel spreadsheet to HTML — all these things can save us a couple of minutes every day, making our work easier and more efficient. And this is why we keep collecting them for Smashing Magazine’s readers. Whether you like lists or not: this one will probably help you find those little nuggets out there that will help you avoid headaches and stress. Below we present useful time-savers for web designers.”


Frameworks for developing Flash Web-Sites

I’ve been looking for frameworks in order develop flash-based web sites for a long time. I haven’t checked any of these frameworks yet. Because, it takes a lot of time to get into a new programming environment for me. Also, when I’m working on a commercial project, I don’t want to waste my time with new classes, methods and etc.. to develop web based appilcation. Because, your customers don’t care about how the background of their web sites are created. They just want to see final result quickly 🙂

Anyway, For a long time, I’ve been coding with Flex and don’t want to use Flash hereafter. In my opinion, Flash can’t be a framework for coding action script language. I mean, I can’t imagine a framework that has no suggestion option while I’m coding an application. So, I searched for some frameworks which can be used without Flash. At this point, I encountered with PureMVC framwork. But there are no tutorial about how to use it in Flex…I googled some tutorials about PureMVC and here they are;



And there is an other Flash framework which called Gaia. The only disadvantage for me is, you can only use Gaia with Flash. But, Gaia has some tutorials about how to setup and work with it in their web-site.

Awards from Flash Web-Design Contest

“Flash Ödülleri” web design awards, by http://www.flasharsivi.com – a member of Adobe Flash User Group in Turkey-  emerged from the idea to have a contest among the members of the web site,  in 2008.

The contest aims  to increase the use of Flash software and encourage designers to create action script (programming language) based web sites.

Alp Tuğan’s two web design works were nominated for the first 30 designs of 2010. and got the second and

the sixth place in the “Flash Ödülleri” contest that is also sponsored by Adobe Company this year.

second place    : http://www.brandmood.org
sixth place     : http://www.muratgermen.com

For further information http://www.flashodulleri.com/