News for the ‘PHP’ Category

Getting ready for phpStorm 2.0 Final

JetBrains just released the newest EAP build, one in a long line of builds they’ve been releasing for us developers in their Early Access Program. I truly believe it’s awesome how JetBrains listens to their users and work hard to release this cutting edge editor.

What’s inside

phpStorm 2.0 has a lot of hot features. Most of them are already working in the newest EAP builds.

Features already in:

  • Zend debugger support
  • Refactoring features
  • New code inspections
  • Structure view sorting and filtering
  • New full-fledged code editor for SQL console, editable results grid, blob support
  • LESS support
  • New DVCS UI (Git, etc) with easy multiple repository branch switching, built-in log views and integrated cherrypicking, etc
  • Softwrap in code editor
  • Mercurial support
  • RelaxNG support

Implementation in process:

  • “Any framework” support mechanism
  • Zend framework support (zendtool, generators)
  • full fledged PHP namespace support
  • SASS 3 support, compilation support
  • Streamlined UI: more compact layout, better indication, better blending into OS style

Check out the phpStorm blog: http://blogs.jetbrains.com/webide/
Newest EAP build can be downloaded here: http://confluence.jetbrains.net/display/WI/Web+IDE+EAP
Development Roadmap: http://confluence.jetbrains.net/pages/viewpage.action?pageId=15801728
Community forum: http://devnet.jetbrains.net/community/wi/
Issue tracker: http://youtrack.jetbrains.net/issues/WI

Bonus!

Like the dark twilight theme? I’ve ported it to phpStorm, you can download it here.

phpStorm

Posted: January 12th, 2011
Categories: Freebies, IDE, PHP, Software
Tags: , ,
Comments: No Comments.

Kohana 3.1 will be the last PHP 5.2+ release

So, the hot news are that Kohana 3.1, due by the end of the year, will be the last release for PHP 5.2.x. The next release, Kohana 3.2 will be support only PHP 5.3+. This is great news for people that already enjoying the benefits of PHP 5.3 which are major: Namespaces, lambda (anonymous) functions, and more…

One of the hot new features in Kohana 3.1 is Lambda routes. For example:

<?php
Route::set('testing', function($uri)
	{
		if ($uri == 'foo/bar')
			return array(
				'controller' => 'welcome',
				'action'     => 'foobar',
			);
	}
);

Route::set('testing', function($uri)
	{
		if ($uri == '</language regex/>(.+)')
		{
			Cookie::set('language', $match[1]);
			return array(
				'controller' => 'welcome',
				'action'     => 'foobar'
			);
		}
	}
);

https://gist.github.com/7b2db1abbf22b4cd74b2

Current Kohana 3.1 release notes: (may change)

  • Scratchpad, eventual general overview for 3.1 changes.
  • Rewritten request class
  • Added response classLambda routes
  • Added http_* classes, for responses (like 404s)
Posted: December 20th, 2010
Categories: Kohana, PHP
Tags:
Comments: No Comments.

Creating Wildcard Subdomains + Controller/Dispatcher

Ever wanted to create an automatic system that will open subdomains for your customers? Or maybe you would like to control your subdomains without having to mess around with DNS and configuration files everytime, but have wildcard subdomains?

You’re in the right place. Continue reading!
(more…)

Posted: April 27th, 2006
Categories: Apache, Linux, PHP
Tags:
Comments: 4 Comments.

PHP5 and XML

One of the best things in PHP5 is that almost everything regarding XML was rewritten; All XML extensions are now based on the libxml2 library, from Zend article:
(more…)

Posted: April 23rd, 2006
Categories: PHP, XML
Tags:
Comments: 1 Comment.

Lazy Sunday Afternoon Links

What da heck are you doing here?.. Go work or something…
(more…)

Posted: March 12th, 2006
Categories: CSS, Freebies, PHP, Web, Wordpress
Tags:
Comments: 2 Comments.

In the Search for the Perfect PHP Calendar

I’m looking for something that will treat each user with its own calendar. It’ll be nice finding something that has a system like that, built-in already. Well, I’ll decide on something in a month or so.
Here are a couple of open-source PHP calendar projects worth to metion:
(more…)

Posted: March 10th, 2006
Categories: Database, JavaScript, PHP, Web, XMLHttp/Ajax
Tags:
Comments: 1 Comment.

Gzipping your CSS and JavaScript using PHP

You save your bandwith and speed up your site by gzipping your javascript code library and even your CSS, yes!
(more…)

Posted: March 10th, 2006
Categories: CSS, JavaScript, PHP, Web
Tags:
Comments: 1 Comment.

Date Arithmetic With MySQL

Found a great article at DevShed on “Date Arithmetic With MySQL“. The last few days we’ve been kind of puzzled about how to store and actually utilize dates, throwing them back and forth from PHP to MySQL. There seems to be a lack of documentation about MySQL date functions, I bet alot of people are doing alot of mistakes in this area.
(more…)

Posted: January 17th, 2006
Categories: Database, MySQL, PHP, Web
Tags:
Comments: No Comments.

ADOdb – database abstraction library for PHP

ADOdb is what really saved my life when moving from Classic ASP to PHP5, it supports a wide variety of database, and has some great functionality features. It supports PHP5 aswell :)
You can find ADOdb here: http://adodb.sourceforge.net/

Here are some examples of your daily database connect and retrieval:
(more…)

Posted: January 5th, 2006
Categories: Database, PHP
Tags:
Comments: 1 Comment.

PHP5 incompatibility with PHP4

We are trying to recompile PHP5 on all of ours servers. It’s tough. You can’t know what errors would appear on your websites, and how severe would they be. I found some good articles about incompatibilities between PHP4 and PHP5 that I’d like to share.
(more…)

Posted: December 30th, 2005
Categories: PHP
Tags:
Comments: No Comments.