Installing PHP on your computer…

Okay, so you are probably wondering what’s required to start working with PHP. Well there isn’t much to it. In the following video I’ll cover the installation of EasyPHP a WAMP( Windows + Apache + Mysql + PHP) solution with a pretty straight forward installation.

Please notice that I use windows for my php development screencasts. If you are using linux or Mac Os you’ll need to install their respective software bundles. I recommend you check the following links.

Mac Os: http://www.mamp.info/en/index.html

Linux(Ubuntu): http://www.howtoforge.com/ubuntu_lamp_for_newbies

Feel free to ask any question you may have, I gladly answer them ASAP.

No Comments

How PHP works

Okay, this won’t be of much help to everyone but those following my new screencast series about PHP.  I’ll be going over the basics and I thought that this would be the best place to start on. “How PHP works” shows in about a minute the basic functionality of PHP. I’ll be going over setting PHP up in your PC afterwards and then I’ll start showing the basics of PHP. Hopefully this screencast series will give me a reason to be more active on my blog.

No Comments

Ceica Pastebin

I’ve finally completed (sort of) a project. I created the Ceica Pastebin based upon the idea of pastebin.com. I really liked the idea behind it and thought it would be something really cool to script. Just as I predicted I had a great time doing it. It’s fully functional except for the API I am planning on releasing. The way everything runs should be able to handle extreme quantities of traffic and usage that it won’t be getting so I can rely on my server not crashing. I really love how it turned out and I think my implementation is really elegant. It’s opensource by request so if you want to take a look at it feel free to ask for a copy by contacting me. I would personally download pastebin.com’s script as it’s been developed way more than my 7hour project. I’ll be improving it and I have plans for several desktop applications to help provide a smoother connection between the user and the service.

I still have many ideas I would like to develop. Like user registration with features like keeping track of posts and link emailing. I am still thinking on ways to improve it. I will also redesign it’s ui as it isn’t nice enough. I hope it’s useful for someone and that it actually gets used.  Contact me if you have any doubt or if you spot any bug. Please comment about it xD.

Ceica PasteBin_1255919077675

No Comments

Building a Simple Twitter PHP Class

preview

PHP is a very versatile scripting language. In this tutorial I will be explaining how to create a PHP class that will help you post and get information from a twitter account using the client URL library (cURL).

Read the rest of this entry »

2 Comments

Learning Photoshop Keys, MWPS Style

Okay, so recently I decided that I will start posting on this blog more frequently as well as, increasing the quality of the content and that stuff. Today I was busy memorizing Photoshop keys. Mainly because, I’ve used photoshop for quite a while and never learned all of the basic tool keys. After googling “photoshop cheatsheet” I found out that the only acceptable one is both not a sheet and useless for this purpose. Thus, I started a quest and began designing a basic image to help me with this purpose.I decided that one that resembled the keyboard layout would be the easiest to follow and that originated it’s appearance. Took around 30mins to make. I am still planning some improvements and, I might transform it into a full cheatsheet. I don’t know yet. Here it is:

Photoshop Hotkey Map.

Photoshop Hotkey Map.

I already started using it and it actually made learning these easier. :) please comment if you like it and if you don’t still do so.

2 Comments

The annual MWPS revamp.

Okay after 3 days of hard work (not so hard actually) I’ve made a very nice new face for Martian Wabbit Productions. This time I am no longer presenting myself as the design firm I’ve been over the past years instead, I’ve restructured what MWPS is. It will still act as a brand but, instead of representing the company, it will represent me and what will me and my company (Martian Wabbit Productions)  be. I love what the result ended up being. It is in it’s pure form a sketch. This is the first website I’ve placed this kind of effort into. The development process (was inspired by my friend Edward) was basically drawing as much as I could in a piece of paper then, I would scan it, change the brightness and contrast of the scanned paper. Clean the scan as much as possible and then optimize it for the web. It ended up being pretty neat and sketchy. I also made a nice brush set out of it (I will be uploading this one later on) which, allowed me to reuse my previous drawing.

The content is basically the same format as the old site but, it’s theme is different. I am no longer looking for a job but showing everyone who comes into the site who am I and what I do. The portfolio is the only page that I think is missing stuff so, I will be editing it later on. I will be adding information about the presented project and my other projects as well. The about page is probably the most unprofessional part of the page (which is what I am looking for with the general look of the new site). It features no about me info and, I actually slashed that through. I wrote contact me next to it so I could fix the identity issue ;) and developed a nice web form.  It’s powered with ajax and features real-time field value checking and Ajax submit, on the back-end I have a simple and very well structured php script. This script basically double checks the submitted information and emails it to me (It also features some anti-spam technology of mine :P ). I am only missing my custom-made matching wordpress theme (which I am already working on) so you should see a change in the blog if you come on later this week ;) .

That’s basically it. I also customized my 404 error pages :D . I also made this image to give you a tour.

MWPS 2009 Site Tour

MWPS 2009 Site Tour

No Comments

Firefox 3.5 Released

167662-firefox-35_original

Yes people it is true. I am not joking or anything. I wouldn’t joke with something like this… The new firefox is out and it is the  best firefox yet. Go check it out:http://www.mozilla.com/en-US/firefox/firefox.html

I am already loving it ;)

I would recommend checking this video out, as it gives you an insight of what’s new with this firefox build.

No Comments

Adobe Air

Adobe AirLately, I’ve been extremely bored. I’ve been searching for some sort of project related to programming but, I’ve been unable to get any idea I feel like working on. Yesterday, something changed though, now I have a very minimal idea. I will be using Adobe Air as my platform and try to develop some app I still have to think of. Basically, I’ve only discovered what I want to use as a Platform, I am still in the search for the real app idea though.  I was thinking on making some sort of notepad, or maybe something to check my Facebook friend’s status and update mine but, I am not sure yet. I might just make a little program to tweet. If anyone has any idea feel free to comment.

No Comments

Simple factorial function

Well, today my sister was working doing her homework and, she kind of got stressed with it, so she called me and, I ended up making it for her… I learned what a factorial is and, made this nice little function that finds the factorial of any number you pass to it. It was supposed to be written in labview, but I don’t really know what that is… so I used php xD It worked like a charm in labview according to my sister. so you can also use it in labview I guess :O

1
2
3
4
5
6
7
8
9
<?php
function factorial($input){
  $output = 1;
  for($x = $input; $x >= 1; $x--){
    $output *= $x;
  }
  return($output);
}
?>

I made an example of this function’s usage using JavaScript, check it out here

Tags: , ,

6 Comments

Basic of $_GET variables (PHP)

Hello everyone, today I am posting a tutorial on the basic usage of the $_GET super variable in php. This tutorial was originally posted at the MWPS community forums, which almost never is read so I figured that this would be a better place for it to be. It goes through the basics of the $_GET variable and some basic usage examples.
Read the rest of this entry »

Tags: , ,

10 Comments