
MamppControl
Hey,
Yesterday I had some spare time, so I decided to take a look at the Cocoa collection of frameworks, APIs, and accompanying runtimes that make up the development layer of Mac OS X.
I’ve created this first application with XCode in Objective-C and named it MamppControl.
It allows you to start, stop, reload Mampp from the tray, with a handy tray icon & menu.
Mampp is the other name for Xampp on Mac.
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use – just download, extract and start.
More information about Xampp here.
I know that there is a launcher includes in the xampp package, but it has no tray icon and stay’s visible in the dock.
Read more…
michiel Mac OSX, Tutorials, Xampp Mac OSX
Hi,
As a PHP developer it comes in handy to run your websites without having to upload them to your server. You can run them on your own computer if you want to, there isn’t much to it. I also like using the CodeIgniter framework for my projects, this is a really speeds up the whole process!
I will take you through the basic steps to set up your localhost to get CodeIgniter running.
1) Use Synaptic package manager to install “apache2″, “php5″ and “mysql-server”.
During the installation you will be asked to enter the password for the root user for your mysql-server.
2) Create a symbolic link, so that when you go to localhost in your browser, you get the website you want.
sudo cd /var/
sudo rm -r www/
sudo ln -s /path/to/website www
Always look before you delete something with “rm -r”, normally there should only be a index.html file in your www/ folder.
I prefer creating a link to my website that I put somewhere in my home directory, as this is being back-upped frequently, and is on another partition.
Read more…
ruben PHP, Tutorials, Ubuntu, Xampp CodeIgniter, PHP, Ubuntu
A missing feature in Flex is the ability to load fonts at runtime.
‘Why is this useful?’, you could ask. Well one situation is you’re creating an online rich text editor, and you want to add a font
to the font list. You would only have to edit the css and upload the new swf instead of the whole application. Or you want a client
to be able to add fonts without him having the source code from the application.
Luckily it’s possible in Flex to load runtime CSS compiled as an SWF with the StyleManager class.
StyleManager on LiveDocs
Fonts.css Example :
1
2
3
4
| @font-face {
src:url("fonts/Arial.ttf");
fontFamily:"Arial";
} |
How to compile the CSS to SWF?
Read more…
michiel AIR, AS3, CSS, Flex, Tutorials AS3, CSS, Flex
Last Comment