News Feed
Jobs Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Reddit.com:
Where can I find a free place to edit PHP code and see the results?
June 15, 2012 @ 09:13:49

In this recent post to Reddit.com, the question is asked "Where can I find a free place to edit PHP code and see the results?"

Hey everyone, Recently I was tasked with coming up with some code for an possible job opportunity. I'm wondering if anyone could point me to a place where I can easily write and edit PHP code and see the actual program run.

Suggestions from the comments include:

0 comments voice your opinion now!
community edit code ide online execute


PHPBuilder.com:
PHP Simple HTML DOM Parser Editing HTML Elements in PHP
September 08, 2011 @ 10:06:07

On PHPBuilder.com today there's a new tutorial from Vojislav Janjic about using a simple DOM parser in PHP to edit the markup even if it's not correctly W3C-formatted - the Simple HTML DOM Parser

Simple HTML DOM parser is a PHP 5+ class which helps you manipulate HTML elements. The class is not limited to valid HTML; it can also work with HTML code that did not pass W3C validation. Document objects can be found using selectors, similar to those in jQuery. You can find elements by ids, classes, tags, and much more. DOM elements can also be added, deleted or altered.

They help you get started using the parser, passing in the HTML content to be handled (either directly via a string or loading a file) and locating elements in the document either by ID, class or tag. Selectors similar to those in CSS are available. Finally, they show how to find an object and update its contents, either by adding more HTML inside or by appending a new object after it.

0 comments voice your opinion now!
simple html dom parse tutorial selector find replace edit


ServerGrove Blog:
Editing Twig Templates in Dreamweaver
March 04, 2011 @ 10:16:28

On the ServerGrove blog today there's a new post showing how you can set up Dreamweaver to be able to edit Twig templates directly, complete with syntax highlighting.

If you are a designer working with Symfony developers you will soon encounter Twig. Twig is a template engine for PHP that has been adopted by Symfony 2, and from a designers perspective, it's a major improvement over the way things are done in Symfony! For designers who have used templating systems like Smarty before, Twig is going to be a walk in the park, if you have not used a templating system before, Twig is a great place to start.

It's a simple two-step process to get things up and working. You just need to tell Dreamweaver that ".twig" files should be recognized as code and set up the syntax highlighting in the "MMDocumentTypes" XML configuration file (might be a little tricky for non-development types). This change tells the program to open them with HTML syntax highlighting.

0 comments voice your opinion now!
edit tig template dreamweaver syntax highlight html


Webitech.net:
Create an Impressive Content Editing System with jQuery and PHP
March 10, 2010 @ 11:22:40

On Webitech.net there's a new tutorial showing how to combine PHP and jQuery to create a simple content editing system when you don't need a full-blown CMS to manage the pages of your site.

I'm going to show you how to use jQuery and PHP to build a content editing system that will allow you or your client to easily edit .html pages visually. [...] Our file structure is going to be really simple - just admin.php, the wymeditor package and jquery together in the demo directory.

The tool uses PHP's file_get_contents to pull in the source of the page into a textarea and edit it with jQuery and the WYM Editor. Full code is included for your cut and paste pleasure but if you need a quicker fix, you can download the source. There's also a demo to see it in action.

0 comments voice your opinion now!
jquery content edit tutorial


Community News:
phpanywhere (Online PHP IDE)
April 29, 2009 @ 11:12:18

The phpanywhere site boasts itself as "the easiest way to bring work with you anywhere you go - without bringing anything". The free (still in beta) service offers online PHP editing through a web browser interface.

PHPanywhere is a web based free Integrated Development Environment or IDE for the PHP language, in other words it is an application that gives developers all the code editing capabilities they need to develop PHP applications online. It includes a real-time syntax code editor with support for all web formats and a powerful FTP editor.

You can add in FTP servers and pull files directly from them to edit and upload back over. You can also use the project sharing to allow others to see the current state of your code (real-time collaboration is "coming soon"). You can see screenshots of the editor interface, setting up FTP sites and modifying permissions for the files.

4 comments voice your opinion now!
phpanywhere online ide edit ftp share


Jamie Hammett's Blog:
Open ID edit one page on Wordpress
March 20, 2009 @ 10:52:47

Want the "quick and dirty" way to get OpenID support up and running on your WordPress blog? Check out this new post from Jamie Hemmett - short, sweet and to the point.

Some of the tools you'll need are the OpenID plugin, RoleScoper, Adminimise and some knowledge of working with the WordPress files directly to add in the OpenID support. You'll also need to set up your blog to accept new registrations.

Sample code is included for "OpenID-ing" the page with a new kind of login form.

0 comments voice your opinion now!
openid wordpress login example edit rolescoper adminimise


CSSGallery.info:
Textmate - php syntax check
January 27, 2009 @ 12:55:22

If you're a fan of the Textmate editor for the Mac platform, you might want to check out this new post from the cssgallery website. It shows how you can get your favorite editor to check your PHP syntax for you.

A nice "hidden" feature that Textmate has, is to check the syntax of the php files you are writing, and display a popup with the result. [...] Each time you save, a syntax check will be done, and a popup will show you the result

You'll need to edit the PHP bundle slightly to get things working, but that's as easy as going through the UI and changing a drop-down value to activate the check. You'll need to have a php binary where the editor can use it, but most OS X installs will have that in place anyway. Check out this image to see the end result.

0 comments voice your opinion now!
textmate editor bundle edit syntax check save


DevShed:
Building Your Own Desktop Notepad Application Using PHP-GTK
September 23, 2008 @ 13:07:36

In this new tutorial from DevShed, they show how to take that PHP-GTK introductory knowledge a step further and create a simple desktop "notepad" application (corss-platform, of course).

If you think building a desktop application such as Notepad is difficult, think again. If you use PHP-GTK, it's almost ridiculously easy. This article will show you how. By the time you're done, you'll have a full cross-platform application in about 100 lines.

You need to already have the latest PHP-GTK version installed and have a basic knowledge of how to make an application before you start. All code is included as well as explanations as to where all of the parts go (including a simple find, time/date output, select all and how to tell if the user has modified the contents of the file).

0 comments voice your opinion now!
phpgtk tutorial text edit notepad application crossplatform


Ed Finkler's Blog:
Zend Studio for Eclipse and SFTPDrive not on speaking terms
March 20, 2008 @ 07:58:09

Ed Finkler, a long-time user of SFTPDrive on his Windows machine, has noticed something a bit odd lately when using the new Zend Studio (Eclipse):

For some reason, ZSfE just doesn't show me my 'k:' drive (the SFTP mount) when browsing for a project directory. This throws a real wrench in my usual workflow '" ZS 5.5 had built-in SFTP support, and I could also use the local mount if I wanted.

Finding nothing in the traditional places, he's made this blog post hoping someone might have the answer. Turns out that the fix (as provided by Josh Johnston) is to create a new project around a new Remote Folder.

0 comments voice your opinion now!
eclipse zendstudio sftpdrive remote folder edit drive


PHP-GTK Community Site:
Which editing widget do you use in your PHP-GTK apps?
July 05, 2007 @ 09:47:00

The PHP-GTK Community site has posted a new poll that ask PHP-GTK developers which, of the choices provided is their favorite editing widget used in their applications.

The choices are:

  • GtkScintilla
  • GtkSourceView
  • GtkTextView

They also included the "Homegrown" option for anyone that might have whipped up their own. At the time of this posting, GtkScintilla and GtkTextView are tied with two votes apiece. If you're a PHP-GTK developer and have worked much with text editing widgets, head over and cast your vote today!

0 comments voice your opinion now!
phpgtk edit text widget poll gtkscintilla gtksourceview gtktextview phpgtk edit text widget poll gtkscintilla gtksourceview gtktextview



Community Events











Don't see your event here?
Let us know!


component opinion install language facebook release hhvm code composer unittest hack introduction framework example symfony2 series podcast package application security

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework