Saturday, July 30, 2011

The Benefits of Upgrading To Dreamweaver CS5


The Dreamweaver CS5 software produced by Adobe gives to the designers and developers, novice and professional, the ability to create standards-based websites with an air of self-assurance. The owners of this new software are able to design either visually or in code. Below are some of the features that the Dreamweaver CS5 has:

Enhanced Integration - This software allows the website designer to not only save time but also decrease the number of steps that are needed to finish projects with intelligent integration across Photoshop Extended, Adobe Flash Professional, Fireworks and Adobe CS Live online services. Just for a limited time, the CS Live services are being offered free of charge.

Intelligent Coding Assistance - You will be able to write cleaner code quicker than ever. You will surely like the idea of taking advantage of code hinting with JavaScript, HTML, and Ajax frameworks like Prototype, Spry and jQuery. With the Dreamweaver CS5 software, you will be able to glean direct insight into the bottom line objects, functions and methods with compelling PHP code hinting.

Integrate FLV Content Enhanced - You will have the ability to add FLV files to whatever web page you create with just a click of your mouse and standards-compliant coding. You can even preview your movies with FLV playback that you will be able to see in Live View.

New Site-specific Code Hinting - You will be able to benefit with the new Dreamweaver software from code hinting in directories in Adobe Dreamweaver in addition to other nonstandard files. This will enable you to get enhanced hinting support for other CMS frameworks such as Joomla, WordPress and Drupal.

Enhanced Dreamweaver Extended Community - The novice, who is relatively new to all of this computer jargon, will be able to learn as well as share from an extended Dreamweaver community. There the young and old, the novice and professional, may benefit from training sessions, user forums, seminars and developer certification programs.

New Integrated CMS Support - If you decide to purchase the Dreamweaver CS5 software, you will be sure to enjoy testing and authoring support for different system frameworks such as Drupal, WordPress and Joomla!

Enhanced Comprehensive CSS Support - You will be given powerful CSS tools with which to build your website. You will also be able to visually show the CSS box model and not need any separate utilities. There will be no need to manually edit any CSS code.

Support for Leading Technologies - You will have the certainty that you will be able to design and develop your website in an environment that is supportive to just about all leading web technologies. Some of these include the following: HTML, CSS, Ajax, Adobe ColdFusion software, XHTML, XML, JavaScript, PHP and ASP.

New Adobe BrowserLab Integration - A person who becomes the owner of Dreamweaver CS5 software will have the ability to preview local content and web pages with tools that are comparing, multiple viewing and diagnostic. There is a new CS Live online service called BrowserLab that allows you to swiftly and accurately test your web content across different operating systems and web browsers.

The bottom line for those who are thinking about purchasing Dreamweaver CS5 software is that is can provide a challenge novices and advanced users alike. Everyone is sure to like the Dreamweaver CS5 benefits.




Rich Niccolls has been working sharing information about Dreamweaver CS4 Tutorials for more than a year now, including details on Dreamweaver Video Lessons. There are also tips that you can use when coding, editing, and designing your websites.


Tuesday, July 26, 2011

How To Modify CMS Infusion Templates, How To Install Cms Infusion Plugins And Cron


CMSINFUSION: SITE DESIGN - MODIFY TEMPLATE

1.1 Go to Site Design / Page Management Module

1.1.1 In EDIT TEMPLATE pick one, set AS DEFAULT, then click MODIFY (this guide based on Template 04 -a nice, popular template )

MODIFY HEADER

Go to: Click here to change template

Orange Box: CHANGE HEADER (image, background, title) (v.1.6)

MODIFY BACKGROUND

Go to Change CSS File

First line: background-color: #006E99;

MODIFY LEFT,RIGHT COLUMN FONT,SIZE,COLOR...

Go to Change CSS File

Look for .link

MODIFY LEFT,RIGHT COLUMN TITLE BACKGROUND

Go to Change CSS File

Look for .MainNavBg

MODIFY LEFT, RIGHT, BOTTOM COLUMN's BACKGROUND

Go to Change CSS File

.leftBg{background-color:#006E99;}

.rightBg{background-color:#006E99;}

.bottomBg{background-color:#006E99;}

CMSINFUSION :CRON-JUST A MATTER OF COPY & PASTE

1.1 Click on CMS Infusion Configuration Module

1.1.1 Click on CRON SETTINGS Copy the EXACT LINKS

/home/room/public_html/virtual-assistant/schedule/send_mail

Example You See: 0,10,20,30,40,50 * * * * /usr/bin/php -f .php

ONLY COPY the part AFTER the number & **** like this:

/home/room/public_html/virtual-assistant/schedule/send_mail/usr/bin/php -f .php

Go to your hosting server or type [http://yourdomain.com/cpanel]

Click on CRON JOBS

Choose ADVANCED (UNIX STYLE)

PASTE the COPIED LINK into COMMAND BOX- keep this window open

BACK TO the CRON LINK in your CMSI, COUNT the number of * ( the link above has four **** )

BACK TO YOUR SERVER CRON WINDOW, input one * into each box-

START with the box RIGHT BEFORE the COMMAND BOX and move backward

BACK TO the CRON LINK in your CMSI, COPY the NUMBER into the boxes BEFORE the * boxes.

DO the same for other cron links in your CMSI

CMSINFUSION :PLUGINS INSTALLATION MADE EASY

THE 2 STEP FORMULA

1/ Download plugins ( for ZEND or IONCUBE ), unzip, upload via FTP, BINARY transfer mode- to the PLUGINS folder where you installed CMSI's CORE

2/ Type in your browser:

[http://yourdomainname.com/location-you-installed]

CMSI/plugins/YOUR_PLUGIN_NAME/install/install.php

Learn about membership site business [http://cmsinfusiontraining.com]. It's exciting, profitable with recurring income. We build membership site for you at CmsInfusionTraining.com

This article may be reprinted as long as you use my entire article exactly as it is, including its resource box. Thank you!




Membership Site Builder [http://cmsinfusiontraining.com] is a web service by CmsInfusionTraining.com. We offer quality services and affordable solutions for internet marketers and small business owners.


Saturday, July 23, 2011

How to Learn PHP and MySQL as Quickly as Possible


Learning Programming is a tough subject, no matter which language you choose.

It took me months to figure out php and MySQL enough to build real, quality, Websites that were "good enough".

Eventually I figured out the easiest way to learn. It took me MONTHS to figure it out... but I did.

So what does it take to learn a Programming Language such as PHP?

"Doing" is what it takes. 90% of the people who try to take on such a task end up feeling "dumb" or "slow". This usually is NOT the case. I've found that, like myself, most people try to learn PHP from reading and going through code to "understand" what it means.

I was the same way until I was told "just do it". My mentor must have been the most patient man on the face of this earth - because I was constantly telling him I could not do it. But he kept on me telling me the same line I'm telling you: "just do it".

What does this mean? It means trying to create your very own scripts, whether small or of decent size. Start out with printing out the date to the browser. Continue with Loops. Create scripts that create mathematical equations. Print out your name, last name, etc.

Once you figure out the basics, make sure you continue to learn by doing! You will never be able to take your skills to the next level just by reading.

I also stress to other newbies that they need to learn by watching as well. Writing code can become quite a task and it's better to see someone else do that, if possible (which it is by watching videos).

It's quite easy to get caught up in bad practices while writing code if you do not follow good programming standards. Sloppy (spaghetti) code seems to be the evil of the programming world that occurs from newbies who read online tutorials by so called "programmers". Most of these "programmers" are NOT what they claim to be. So be careful of whom you choose to learn from.

PHP and MySQL (database) go together like peanut butter and jelly. I cannot tell you how important it is to learn these two languages together. MySQL may not be the "best" Database in the world but it is very easy to learn and very capable of building large scale applications.

So remember: if you're not "doing", you're not learning. Start learning PHP basics and make sure you're following along and trying to code your own small scripts when starting out. I know, I know... it LOOKS like it's too hard. It's not. This is not something you're going to learn overnight, but it's quite possible that you can learn enough to do what you need to do in just a matter of weeks!

Keep learning and continue doing.




Want to learn PHP at rapid speed? Check out these awesome Video Tutorials I've found!

If you're looking to become a PHP programmer - you need to see these videos!


Monday, July 18, 2011

Simple PHP Review - Real PHP Tutorials in PDF, Or a Scam?


Are you interested to find out more about the Simple PHP guide, and whether or not it is worth getting? With so many tutorials available on the internet, it can be very confusing trying to put all the information together to study systematically. This article will discuss how this scripting language works in general, and what is contained in the Simple PHP guide.

1. What Exactly Is PHP?

It is a server side scripting language that can be easily combined with HTML tags. It has been reconstructed into a web language today.

2. How Does It Work?

It works like standard programming language whereby it maintains the if/else condition statements, loops and subroutines. It is easily identified by the curly brackets { } used to define the start and end of statements. Users will need to use a

Finally, when you are done scripting a page in PHP, remember to save the file with the extension .php, and remember that .php files can still contain HTML tags within them.

3. Why Should You Learn PHP?

It is the most popular knowledge to have when you want your web pages to handle form data submitted by users. It also allows customization and building of dynamic pages. Best of all, it can connect to any SQL database, allowing you or your users to store, edit and delete any information from your web pages.

4. Review of Simple PHP Guide

This guide is compiled by Robert Plank and it is essentially like a step by step course for learning this scripting language. With the abundance of information available on the internet, it is very confusing to know where to start and end.

5. What Is Contained In This Package?

It lays out all the essential PHP skills in 17 chapters, complete with quizzes at the end of every chapter to test your understanding. 22 useful code snippets are included so you can stick them into your web page and be used immediately. Simple PHP guide is highly recommended if you want a full grasp of this scripting language quickly.




Do you want to download a step by step guide for learning PHP? Visit http://www.top-review.org/simple-php.htm to learn more about the Simple PHP guide, and Click Here to Download Simple PHP!


Thursday, July 14, 2011

Debugging PHP Applications Remotely Like a PRO Using Eclipse, XDebug and SSHFS


How did it even come to a point where I needed this? Well, owning a dedicated Debian box in Frankfurt with some 50 websites that tend to have problems from time to time led me to a painful conclusion that debugging using echo statements is better left for high school lessons. If I was left without my debugging setup today I would probably feel like trying to code an operating system in assembly.

So how does a practical scenario of what you will learn to do look like? Well it goes something like this:

A live site on my server in Frankfurt fails in some mystical manner.
I am notified of the failure and fire up Eclipse immediately.
I fire up the XDebug extension on the server.
My Eclipse installation already contains prepared projects and debug sessions so I just fire up the appropriate one.
Withing up to two minutes I am stepping through the code of the offended website and usually within a few minutes the bug is squashed.
Turn off the XDebug extension and all is back to normal.

But don't be mistaken, this setup is not only for live sites. I absolutely do use it while developing PHP applications. The reason I used this example is to show you the sheer power it possesses in critical and urgent situations when you have that client banging on your door to get his site working.

Instructions featured in this article are Linux oriented for brevity. In order to get the instructions for Windows you will need to check out the original tutorial. A link to the original tutorial is found in the signature.

Installing Eclipse

The first step in our journey is to install Eclipse IDE with PDT (PHP Development Tools). You should be able to fetch the latest version of Eclipse PDT for your operating system at the Eclipse downloads section. The installation procedure on my Debian box was trivial: download, extract and run. The only issue I run into was not being able to run Eclipse with PDT in a stable manner with anything other than Sun JRE. So if you get any weird errors that might be your culprit.

Installing XDebug

The next thing is adding the debugging ability to your PHP Apache extension. Under Debian box this turned out to be pretty trivial:

# aptitude install php5-xdebug

However, you also need to set some things in php.ini:

[xdebug]

xdebug.remote_enable=1

xdebug.remote_host="hostname.dyndns.org"

xdebug.remote_port=9000

xdebug.remote_handler="dbgp"

xdebug.remote_log = /tmp/xdebug.log

xdebug.var_display_max_depth=10

xdebug.var_display_max_data=10240

xdebug.auto_trace=1

xdebug.trace_output_dir=/tmp

zend_extension=/usr/lib/php5/20060613+lfs/xdebug.so

The xdebug.remote_host="hostname.dyndns.org" points to my home desktop which enables me to connect remote to the xdebug session within php from my desktop machine. If you do not have dyndns domain for your home machine you can enter your current IP as well. You can find out about all XDebug settings on the XDebug documentation page. Once you install XDebug extension you should load phpinfo() and check out if the output contains something like this near the top:

This program makes use of the Zend Scripting Language Engine:Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans

If it does you succeeded in installing XDebug. We have only one more thing to install and that is SSHFS.

Installing SSHFS

Why SSHFS? Well... while you are debugging your remote site Eclipse needs to have access to it's source files since that is the only way it can step you through the code while it is being executed. Now, since the site is on a remote server you can either copy it to your machine or somehow make it so that Eclipse can access it via internet. If you copy the sources to your machine you will loose the ability to modify the running site since you will only be modifying the copy. So the only option that we can accept is to somehow gain access to the sources over the internet. This is where SSHFS comes to play. SSHFS will enable you to mount your remote ssh account to your local file system and access it as if though it was on your own machine.

Again, under linux, it turns out to be pretty trivial:

# aptitude install sshfs

However there is a dependency of sshfs that aptitude did not warn me off. It is fuse kernel module. In order to check if you have it installed try out the following:

# lsmod | grep fuse

You should see something like:

fuse 43676 3

If you get something like this you have the module inserted in the kernel and you are ready to use SSHFS to mount your remote ssh account.

To mount the ssh account you should do the following:

# sshfs vlatko @ xxx.xxx.xxx.xxx:/var/www/ /existing/path/on/the/local/machine/ -o gid=44,uid=1012,reconnect -p 12345

(there are no spaces around @)

The vlatko @ xxx.xxx.xxx.xxx:/var/www/ (there are no spaces around @) part should be pretty self explanatory. The format is user @ ip:/path/you/want/to/mount. (there are no spaces around @)

The second parameter is simply the path on your local machine where you want the remote path mounted. This path must exist and should be an empty folder.

The third parameter simply specifies the ssh port which is usually changed from the default 22 to something more obscure on most web hosts.

The part after the -o in my case is dealing with remapping the remote userid and groupid to local userid and group id. Obviously you want to mount these to the user and group id of the user on your local machine.

After everything is setup properly and working you should get something like this when executing:

# mount

vlatko @ xxx.xxx.xxx.xxx:/var/www/ on /home/vlatko/mounts/abraham type fuse.sshfs (rw,nosuid,nodev,max_read=65536,user=vlatko)

So once you got this setup you need to mount the folder in which your web site source code is located to a folder on your local machine. Let's assume that your website is under /var/www/mysite/ and you mounted /var/www/ locally under /home/myself/mounts/myserver/. So under /home/myself/mounts/myserver/ you will have all the sites on your server including /var/www/mysite/ which will be located on your local machine under /home/myself/mounts/myserver/mysite.

Using Eclipse to make all these dance together

Once all the needed parts are installed and running we need to make them work together. This might be a little tricky to get running the first time, but once you make it you won't go back. I promise.

Run your Eclipse IDE and start a new PHP project. (File -> New -> Project and then select PHP -> PHP Project. After you enter the name you need to select 'Create project from existing source' and select the /home/myself/mounts/myserver/mysite. After the project builds you are left with the last step.

Creating the debug configuration

Debug configurations are created under Run -> Debug configurations.

You need right click PHP Web Page and select New. Fill in the name and select XDebug under Server Debugger. For PHP Server you need to choose New and enter a name and the url that loads your website. Under File select the file that loads your home page which is usually an index.php in the root of your website. I always uncheck 'Break at first line' and 'Auto generate'. Especially 'auto generate' tends to generate urls that are not correct so after I uncheck it I also delete the url it generated so that it points to the home page on your website.

This should be it. Press Debug and you should get a Debug perspective opened along with a running debug session. You can toggle breakpoints by double clicking the blue vertical line left of your source code. I usually start by opening the index.php of my site and setting the break point on the first expression in the source just to test if the debugger works and then work my way from there.

My original tutorial also contains a link to a VirtualBox LAMP Stack which contains all of the needed software preconfigured and ready for testing. With the stack all you need to do is download and install it and you are ready to test how it is to debug PHP applications with XDebug and Eclipse.




Taken from my original tutorial: How to debug PHP applications [http://www.docplanet.org/php/how-to-debug-php/].


Sunday, July 10, 2011

Advanced PHP Closed Captioned Training Video – Magic Methods, Getters and Setters Part 4

This is part 4 in a closed captioned video tutorial series where we teach you how to use Magic Methods to cut down a lot of redundant code in your application. From our Advanced PHP Course.

We are happy to announce that we are well on our way to closed captioning all of our Web Design and Web Programming related video training courses.

To find more courses on PHP, check out our Killersites Video Tutorial Library!

Note that all of our videos are in a higher quality when purchased from our Killer Video Store or by subscription to our Video Tutorial Library!

Thanks,

Jody
killersites.com

This entry was posted on Friday, June 24th, 2011 at 6:00 am and is filed under PHP Closed Captioned Videos. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

View the original article here