bingorabbit’s bLOG - when rabbits rule!..

IT Career Planning Session

By: bingorabbit, June 30, 2008 @ 5:12 am
Filed under: depiak, information.technology
Tags: , ,

I have been working on depiak recently, I was trying to do a come back for this great foundation, we had a meeting discussing activities and we agreed on some activities which had dkTalk one of them and I was supposed to start the series with a session called “IT Career Planning”. The session targeted those who doesn’t know how to start their way in IT (Information Technology) and needed an advice about differrent fields and the actual meaning of the word.

I tried my best in marketing for the session and it seems that my effort really came with a great result. You can see the session photos on the session’s facebook event page, and the original post on depiak’s website, where you can download the presentation and leave your feedback.

The audience was great, and really active, they were amazing, we shared info and laughed a lot :). I’m satisfied with what have been done till now, I had great feedback from the attendance about the whole activity in depiak and that was really awesome.

Bored

By: bingorabbit, June 22, 2008 @ 11:23 am
Filed under: depiak, dreams, in.words
Tags: , , ,

Here I am at the college, the graduation project meeting was cancelled which was supposed to be at 10:00 AM and I have another one with depiak members at 01:00 PM, I got shocked really, because I needed to sleep but I forced myself to come now and attend the first meeting when I found noone soI called Amr Salah and he stated the fact that the meeting was off!

Really these days seems so boring - I might not find the exact word to describe them - but it’s that feeling that really makes u sad; for nothing but some specific reasons, most of them are private.

I’m focusing on depiak these days, I ‘m still believing in the members they can do something, I wanna do something before my graduation and I think depiak is the right place.

I started JAVA again, I’m finishing SL110, I will finish SL110 and I will finish SL110 - omal law makansh SL110? -.

ummm, 1 hour and 45 mins left..BORING

Error Reporting

By: bingorabbit, June 12, 2008 @ 4:09 am
Filed under: information.technology, linux, php, web
Tags: , ,

One of the most amazing features in php is how it shows errors to the developer, you might think of it as a GPS which tells you exactly where you have to go :) ; Line Number, character and the error itself..CHARM!

Through the whole previous 2 years, I didn’t use error reporting at all, because it was off by default on my localhost - I use Fedora with Apache, php and MySQL installed as my localhost,, I even installed phpMyAdmin :) . -. I didn’t even mind to set it on, may be because I didn’t right that HUGE script that I may search for an error in and get lost. I have to tell that this really enhances your skills a bit, because you become more into code trying to figure out the semi-colon that you forgot and it terminated the script with a blank screen. Anyway, today I thought about giving it a try so I had to do it manually so you should do the following:


$ su -

- then enter the root's password and press enter -

# vi /etc/php.ini

Search for “Error handling” (type /Error handling and press enter in vi), this is where the error handling and logging configuration block starts. Try to find the statement where it says:


;error_reporting = E_ALL

If it had a semi-colon (;) in the beginning, just remove it, if there where no semi-colons - the common situation - , go to the next step.

Next, search for “display_error” (type /display_errors and press enter in vi), mostly you will find this equals Off so you will find it saying:


display_errors = Off

Change the “Off” to “On”, save the configuration file ( Shift+ZZ in vi) and issue the following command to restart the web server service:


# service httpd restart

If you had any problems, please report them here. :)

parameters with default values

By: bingorabbit, June 11, 2008 @ 6:24 pm
Filed under: information.technology, linux, my.hacks, php, web
Tags: , , , ,

It’s known that declaring a php function has the following syntax:

<?php
function function_name(Parameters_list) {
// function
// code
// block
}
?>

an example of this can be like this:

<?php
function nameAndAge($name,$age){
echo "Welcome $name, you are $age years old!";
}
?>

When I issue the following statement:

<?php
nameAndAge("bingorabbit",20);
?>

I will get:
Welcome bingorabbit, you are 20 years old!

Most of us know that, and also we know that to set a default value for any parameter, we can do the following:

<?php
function function_name($parameter1 = "default value", rest_of_the_parameter_list) {
// function
// code
// block
}
?>

which might take the following form:

<?php
function nameAndAge($name="bingorabbit",$age){
echo "Welcome $name, you are $age years old!";
}
?>

so when I issue:

<?php
nameAndAge();
?>

I will get:
Welcome bingorabbit, you are years old!

and when I issue:

<?php
nameAndAge("Ahmed", 15);
?>

I will get:
Welcome Ahmed, you are 15 years old!

The problems is such declaration is that, you can’t just issue:
Read More..

Web Master

By: bingorabbit, June 4, 2008 @ 10:47 am
Filed under: information.technology, web
Tags: , ,

One very confusing term in web professions is the term “Web Master” - aka, Webmaster -. The whole solution of this confusion is to be sure that the definition will differ from a person to another, from the normal user point of view or from the enterprise one, each define this term considering how does he benefit from such profession.

I have been reading and trying to find an optimal definition for such term and here is what I found:

Wikipedia defines web master saying:

The webmaster (feminine: webmistress), also called the web architect, the web developer, the site author, or the website administrator, is the person responsible for designing, developing, marketing, or maintaining a website.

This really makes confusion more here, because in such definition wikipedia has included more terms in here, to refer to the real role of webmaster. Although, I was convinced with the Web Architect, but when I visited the link I found it referring to Web Design, so I visited that link and I knew why it said “Web Design”. Wikipedia defines web design as the process of “Planning”, “Modeling” and “Execution” of a web site, but using markup languages and considering GUI. This is the common definition we know, but they just put in consideration that web designer has to know how stuff may work also, just to take in consideration the users who might use the web site, or the clients -applications- that might access it.

Web design is a process of conceptualization, planning, modeling, and execution of electronic mediacontent delivery via Internet in the form of technologies (such as markup languages) suitable for interpretation and display by a web browser or other web-based graphical user interfaces (GUIs).

Anyway, this is not our subject here :) . Back to Wikipedia’s definition, when we find the term “Web Developer”, and this one is really simple and clear in definition; a Web Developer is someone who is concerned with deploying web application, even if this application will be published on the Internet or on a network to provide a service to the network users. We can add, web server administration and maintenance, database administration with some skills in database design, web design, web content management systems - which has become VERY important in the last few years - and many other fields. Sure, we have to add the knowledge in markup (HTML) and scripting languages (PHP, JavaScript..etc.).

About.com had a very good article about Webmastering, which stated some of webmaster’s tasks in a working environment as follows:

  • Maintenance: almost 20%, this is the period which starts just after the website is released. It continues as long as the production company/individual releases the website to the internet.
  • Programming: 30-50%, this means doing actual code, and this is really different from development which takes another kind of tasks at all.
  • Development: The author of the article stated that this is the most enjoyable part in the duties of his job. It’s the planning part, before they start the actual coding of the website.
  • Server Maintenance: He said that this task was assigned to the Web Engineer in his team, but he also stated that there were times when he had to fill this place, so by nature he had to know about servers’ maintenance.
  • Release Process: This is the process of releasing the website and the being transferred from the development environment to the actual working one.

This is for now, hope you like it :)

Next Page >>>