Tutoriale PHP
  Comunitatea PHP Romania
 

 
Tutoriale PHP

Noutati

0
Vot(uri)
WebDevRadio.com: Episode 49: Brian Moon at the MySQL User Conference
Sursa: http://www.phpdeveloper.org | Luni 05 Mai 2008 16:19 | alfahost_ro | 4 accesari

Michael Kimsal has release the last podcast of his MySQL Conference series of interviews with other attendees. In this episode, he interviews Brian Moon of the Phorum project (employed at DealNews.com).

Brian was kind enough to review both of his presentations which go in to great detail about the scaling issues he's faced both with DealNews.com and the Phorum forum software project (which recently turned 10 years old!) [...] Thanks to Brian for going over things in such detail!

You can download this latest episode from the WebDevRadio site as well as check out Brian's slides from his MySQL conference presentation.

0
Vot(uri)
PHP in Action: Public constructors considered harmful
Sursa: http://www.phpdeveloper.org | Luni 05 Mai 2008 15:21 | alfahost_ro | 3 accesari

According to the PHP in Action blog, public constructors can be hazardous to your (application's) health and should be replaced.

Everybody who writes object-oriented code knows about constructors. You need them so the program knows how to instantiate objects, right? And you especially need them when a lot of things have to be done while instantiating an object. [...] So why would I be skeptical of public constructors?

The solution, as he sees it, is to make a "constructor" that's actually called statically with parameters that returns an instance of the class it's in as well as performing the action. He argues that this can help make the code much more readable for some types of method calls.

0
Vot(uri)
David Coallier's Blog: XDebug to finally get a Web Frontend
Sursa: http://www.phpdeveloper.org | Luni 05 Mai 2008 14:33 | alfahost_ro | 5 accesari

In a new blog entry today, David Coallier has posted about two new offerings that are in the works for a web-based frontend to XDebug:

For quite a while in the PHP Community (And even myself) I have heard people asking about either an online tool to work on cachegrind output files or a cross platform tool that would have the ability to do what KCacheGrind does on Linux but for Windows and OSX.

He mentions the origin of the idea for a cachegrind app as a part of the Google Summer of Code (that did get accepted and will be worked on by Chung-Yang Lee). The other, Webgrind is an independent project from the other but looks

0
Vot(uri)
PHPEveryDay.com: New Smarty Tutorials
Sursa: http://www.phpdeveloper.org | Luni 05 Mai 2008 13:47 | alfahost_ro | 2 accesari

The PHPEveryDay.com website has posted more tutorials recently - this time about working with Smarty.

0
Vot(uri)
Perl: Another Round with Hashes
Sursa: http://www.devshed.com/ | Luni 05 Mai 2008 13:00 | alfahost_ro | 3 accesari

Welcome to the eighth episode in our series on Perl Lists and Hashes. In this article we will discuss how to add a record to a hash as well how to remove a record from one. We will also cover how to check to see if a record already exists in our hash how to write the data contained in one to a file and quite possibly go over the basics of multidimensional lists....
Build IT Knowledge with Current & Trusted Content Helps Employees
0
Vot(uri)
PHPBuilder.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2
Sursa: http://www.phpdeveloper.org | Luni 05 Mai 2008 12:58 | alfahost_ro | 4 accesari

PHPBuilder.com has continued their series looking at building an Ajax-driven shopping cart with part two posted today (part one here). Last time they laid the PHP foundation for the example app, this time they add another layer - the Ajax functionality to manage the currentcontents of the cart.

Finally, a link to the shopping cart is provided, although you could just as easily have displayed the cart contents on the same page. For the sake of brevity I'll just show you how to integrate the add feature, and will leave the subtraction mechanism to you as an
0
Vot(uri)
Decorators with Zend_Form
Sursa: http://www.zend.com | Luni 05 Mai 2008 12:49 | alfahost_ro | 2 accesari

Zend_Formhas been lauded by many as a welcome addition to Zend Framework, and aflexible solution to the problem of forms. That said, one point offlexibility it offers has proved to be a pain point for many developers:decorators. This tutorial aims to shed some light on decorators, as well asprovide strategies for creating your own decorators and combining them increative ways to customize the output your forms generate.



0
Vot(uri)
Ibuildings Blog: Accessing object properties by reference
Sursa: http://www.zend.com | Luni 05 Mai 2008 12:44 | alfahost_ro | 2 accesari

Over on Ibuildings’s blog they’ve posted another good tutorial. This one is on “Accessing object properties by reference”.



0
Vot(uri)
Community News: Latest PEAR Releases for 05.05.2008
Sursa: http://www.phpdeveloper.org | Luni 05 Mai 2008 12:03 | alfahost_ro | 5 accesari

Latest PEAR Releases:
0
Vot(uri)
Understanding and Validating Integers in PHP
Sursa: http://roshanbh.com.np | 04 Mai 2008 19:20 | alfahost_ro | 4 accesari

I’ve found many of my friends struggling with the validation of integers i.e. the numbers with only digits in PHP. Some of them were wondering why is_int() or is_integer() functions of PHP sometimes works and sometimes won’t.If you become clear with the concept of integer and string in PHP then you’ll obviously come to know [...]
0
Vot(uri)
Site News: Job Postings for the week of 04.27.2008
Sursa: http://www.phpdeveloper.org | Sambata 03 Mai 2008 16:05 | alfahost_ro | 9 accesari

Job postings for the past week:
0
Vot(uri)
Site News: Job Postings for the week of 04.27.2008
Sursa: http://www.phpdeveloper.org | Sambata 03 Mai 2008 16:05 | alfahost_ro | 8 accesari

Job postings for the past week:
0
Vot(uri)
Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2
Sursa: http://www.phpbuilder.com | Sambata 03 Mai 2008 12:00 | alfahost_ro | 10 accesari

Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2
0
Vot(uri)
PHP Vikinger 2008
Sursa: http://sebastian-bergmann.de | Sambata 03 Mai 2008 11:37 | alfahost_ro | 9 accesari

0
Vot(uri)
Public constructors considered harmful
Sursa: http://www.reiersol.com/blog | Sambata 03 Mai 2008 6:05 | alfahost_ro | 14 accesari

Everybody who writes object-oriented code knows about constructors. You need them so the program knows how to instantiate objects, right? And you especially need them when a lot of things have to be done while instantiating an object. And personally, I've never considered visibility restrictions important enough to be a major argument against those languages that have lacked them (PHP 4). So why would I be skeptical of public constructors?

I got the idea after reading Joshua Kerievsky's book Refactoring to Patterns. One of his refactorings is called Replace Constructors with Creation Methods. In Java, unlike PHP, you can have multiple constructors that are distinguished only by the number and type of arguments. That may be practical sometimes, but as Kerievsky's example shows, it be m

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
acasa , in pat
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
Mascka Mascka
Braila
raul_ raul_
whooper whooper
Toronto ON
mihaitha mihaitha
Sibiu
gabysolomon gabysolomon
Bacau
oriceon oriceon
Constanta
garlicinicolae garlicinicolae

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Site-ul lunii

blg
 Blgpunctro

Propune un site

Online

137 utilizatori online

Parteneriat



Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Loan | Personal Loans | Loans | Cheap Flights | Loans
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis