tailieunhanh - OBJECT-ORIENTED PHP Concepts, Techniques, and Code- P2

OBJECT-ORIENTED PHP Concepts, Techniques, and Code- P2:A number of years ago, before I started using PHP, I created dynamic web pages using C. This really wasn’t too different from some of the other options available at the time, though it seems almost unthinkable now. Creating a dynamic page meant outputting HTML from your script and recompiling that script if any changes needed to be made. | The SOAP Extension . 105 A SOAP Client. 105 Testing the Functionality . 108 Viewing the Results Using AJAX . 109 Complex Tasks Made Easy. 1 10 Would You Want to Do It Procedurally . 1 10 13 MORE MAGIC METHODS 111 __get andset. 112 Is It Worth It . 113 __isset . 113 call __ 1 14 autoload . 115 __sleep . 116 _clone _ 1 1 6 Where s Waldo . 117 clone . 118 Aggregate Classes . 119 A Get Method for Object Data Members of an Aggregate Class . 121 No Clones Allowed . 122 A Note About Overloading . 122 14 CREATING DOCUMENTATION USING THE REFLECTION CLASSES 125 What Are the Reflection Classes . 126 The Reflection Group of Classes . 126 The Reflection Class . 127 The ReflectionClass Class . 128 ReflectionMethod and ReflectionParameter . 129 Built-in Functions . 129 What Format Do You Want . 130 The Documenter Class . 130 Describing the Documenter Class . 130 Describing Methods and Data Members . 131 The Constructor . 132 Method and Data Member Modifiers . 132 Using the Documenter Class . 134 Creating a Sidebar of Classes and Interfaces . 1 34 Formatting Detailed Documentation . 134 Formatting Comments for the Documenter. 1 36 Reflecting . 137 15 EXTENDING SQLITE 139 Brief Overview . 140 Directory Structure . 140 Contents in Detail XI How It s Done . 141 Getting Started . 141 Creating a Table . 142 Views . 143 Triggers . 144 PHP Implementation of SQLite . 145 Extending SQLiteDatabase . 145 Override the Query Methods . 146 Error Messages . 147 Query Methods . 148 Utility Methods . 151 Getting Metadata . 152 Using Metadata . 153 User-Defined Functions . 154 Uses and Limitations of SQLite . 156 16 USING PDO 157 Pros and Cons . 158 Converting the SQLite Application . 158 Code Changes . 158 Additional Capabilities of PDO . 161 The PDO Class . 161 PDOStatement . 161 Assessment . 164 Is It the Holy Grail . 164 A .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.