Arrays Short Syntax in PHP 5.4 PRO
As of PHP 5.4 we can create new arrays in a simple way. Simpler than ever. The following code sample shows that. <?php $vec_a = [4,6,2,7]; $vec_b = [‘a’=>’australia’,’b’=>’belgium’,’c’=>’canada’]; foreach($vec_a as $k=>$v) { echo ” “.$k.”=>”.$v; } foreach($vec_b as $k=>$v) { echo ” “.$k.”=>”.$v; } ?> The following video clip shows the execution of this […]
Word Press Jump Start Lecture in Ariel INFO
On february 28th I gave a short lecture about word press in Ariel college. During that lecture we overviews the WordPress open source project and practiced a simple installation. People were using their laptops in order to set up a new blog for themselves. The following resources were mentioned during my lecture: www.wordpress.org – main […]
DevCon 2012 Chrome OS Applications Development INFO
On February 21th 2012 I will deliver a short lecture about Chrome OS extensions and applications development. The lecture will take place in DevCon 2012. During this lecture you will learn how to develop a simple extension and a simple application for the Chrome OS platform and how to place them for sale at Google […]
Students Coding Projects Evaluation PRO
I chose to write down this post for the benefit of my students who submit projects in their courses and for the benefit of my assistants who mark projects submitted by my students. There are many ways for evaluating a coding project submitted by students. The following is my personal suggestion. I will be more […]
Abelski Professional Webinars INFO
I have recently decided to start using webinars for delivering my knowledge and experience. I will deliver my first professional webinar on December 4th. It will be kind of a PHP Jump Start and apart of PHP it will cover various web technologies such as JavaScript, Ajax, HTML5 and jQueryMobile. During the webinar itself I […]
Dependency Property in .NET PRO
The dependency property is a property that can be set directly by various different property providers while having them prioritized. The dependency property depends on multiple property providers. Each one of them has its own level of precedence. We use dependency properties just as any other property. There is no need knowing in advance that […]
Font Families in Silverlight PRO
Using a new font family in a Silverlight application is fairly simple. There are several ways for doing it. The simplest of them is adding the TTF file to our application (simple drag & drop when using the Visual Studio IDE) and referring it from within the XAML file. <UserControl x:Class=”SilverlightApplication15.MainPage” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″ xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″ […]
Creating Tooltips in Silverlight PRO
The tooltips are represented by the ToolTip content control. We don’t need to add a ToolTip element. We can set an attached property and the Silverlight platform will create the tool tip automatically. <UserControl x:Class=”SilverlightApplication15.MainPage” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″ xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″ mc:Ignorable=”d” d:DesignHeight=”300″ d:DesignWidth=”400″> <Canvas> <Button FontSize=”22″ ToolTipService.ToolTip=”This is a Simple Tooltip” Content=”OK”></Button> </Canvas> </UserControl> The following […]
Pages & Frames in Silverlight PRO
The Frame is a content control. It contains a single child element and it inherits from ContentControl. The single child it displays can be of the type Page. We can easily use this capability for developing an application that includes pages displayed one at a time within a frame. The following code sample shows how simple […]
Silverlight Resources & XML PRO
The Silverlight application is actually a package of files archived using ZIP and stored as a single file with the .xap extension. This file can include resources we want to be available for our application. We can alternatively keep these resources on the server or have them as part of the DLL file, which is […]