دانلود کتاب A Programmer’s Introduction to PHP 4.0
49,000 تومان
مقدمه برنامه نویس به PHP 4.0
| موضوع اصلی | برنامه نویسی: زبان های برنامه نویسی |
|---|---|
| نوع کالا | کتاب الکترونیکی |
| ناشر | Apress |
| تعداد صفحه | 466 |
| حجم فایل | 2 مگابایت |
| کد کتاب | 9781893115859,1893115852 |
| نوبت چاپ | اول |
| نویسنده | W. Jason Gilmore |
|---|---|
| زبان | انگلیسی |
| فرمت | |
| سال انتشار | 2000 |
جدول کد تخفیف
| تعداد کتاب | درصد تخفیف | قیمت کتاب |
| 1 | بدون تخفیف | 25,000 تومان |
| 2 | 20 درصد | 20,000 تومان |
| 3 الی 5 | 25 درصد | 18,750 تومان |
| 6 الی 10 | 30 درصد | 17,500 تومان |
| 11 الی 20 | 35 درصد | 16,250 تومان |
| 21 الی 30 | 40 درصد | 15,000 تومان |
| 31 الی 40 | 45 درصد | 13,750 تومان |
| 41 الی 50 | 50 درصد | 12,500 تومان |
| 51 الی 70 | 55 درصد | 11,250 تومان |
| 71 الی 100 | 60 درصد | 10,000 تومان |
| 101 الی 150 | 65 درصد | 8,750 تومان |
| 151 الی 200 | 70 درصد | 7,500 تومان |
| 201 الی 300 | 75 درصد | 6,250 تومان |
| 301 الی 500 | 80 درصد | 5,000 تومان |
| 501 الی 1000 | 85 درصد | 3,750 تومان |
| 1001 الی 10000 | 90 درصد | 2,500 تومان |
ترجمه فارسی توضیحات (ترجمه ماشینی)
مقدمه برنامه نویس به PHP 4.0
خوب، از نظر مثبت: این کتاب بسیار خواندنی است، بسیار سبک. برخی از متون به قدری متراکم هستند که تقریباً نیاز به خواندن در 10 صفحه افزایش دارند. خوشبختانه، این کتاب نسبتاً ساده است و مطالب مرتبط زیادی در آن پوشش داده شده است.
متأسفانه، اشتباهات تایپی و نمونه های متعددی از کدهای مبهم وجود دارد که می تواند به راحتی برنامه نویسان مبتدی را از بین ببرد. این شامل:
1.) چندین نمونه که در آن “-” (یک علامت منهای) به عنوان یک عملگر کاهش استفاده می شود، که کار نمی کند (یعنی $x-؛ در حالی که باید $x–; باشد).
2.) صفحه 68 – حلقه do..while را در نحو به سبک VB ارائه می کند (یعنی با کلمه کلیدی do به دنبال یک دونقطه و سپس عبارات جدا شده از خط، به جای یک بلوک کد به سبک C در {پرانتز}). ). در صفحه بعد، نویسنده به ما اطلاع میدهد که نحو به سبک VB، که برای حلقههای while و برای حلقهها ارائه میشود، در واقع برای حلقه do..while موجود نیست. پس چرا در صفحه قبل به این شکل ارائه شد؟ فکر میکنم قرار بود نمایش شبه کد باشد، و نه نحو واقعی – اما مطمئناً گمراهکننده است.
3.) صفحه 76 – شرح پیچیده “ادامه n;” نحو: “n اختیاری برخلاف n همراه با دستور break عمل می کند، و مشخص می کند که دستور continue باید از چند سطح از حلقه های محصور رد شود.” آه؟ درک این یکی نسبتاً دشوار بود، به خصوص که هیچ مثالی ارائه نشد.
4.) صفحه 66 – در بالای صفحه، خط اول کد میخواند: “if ($food == “pasta”)”، اما کامنت همراه آن خط میخواند: “//check $pasta value” ، حتی اگر ارزش $food است که ما در حال بررسی آن هستیم (نه ارزش $pasta).
5.) برای مثال، در صفحات 90-91، نحو برای تابع ‘include’ ابتدا به عنوان ‘include(path/filename);’ فهرست شده است. (پرانتز اما بدون نقل قول در اطراف مسیر) و سپس، به عنوان “شامل “path/filename”; (با نقل قول در اطراف مسیر، اما بدون پرانتز). اما در مثال زیر به صورت ‘include (“array_sorting.inc”);’ نوشته شده است. – که شامل هر دو نقل قول و پرانتز است. من فکر می کنم هر سه مورد قابل قبول هستند – اما این به صراحت بیان نشده است، و به همین دلیل، بسیار نامشخص است.
در مجموع، از نظر محتوایی کتاب بدی نیست، اما قطعا باید با دقت بیشتری ویرایش میشد. اگر از قبل با یک زبان برنامه نویسی دیگر نسبتاً راحت هستید، احتمالاً اکثر اشتباهات تایپی را متوجه خواهید شد – اما من هنوز اسناد PHP را در دسترس نگه می دارم.
OK, on the upside: This book is very readable, very light. Some texts are so dense that they almost necessitate being read in 10-page increments. Thankfully, this book is comparably straightforward, and there is a lot of relevant content covered.
Unfortunately, there are quite a few typos and numerous instances of ambiguous code that could easily throw off beginning programmers. These include:
1.) Multiple instances where “-” (single minus sign) is used as a decrement operator, which will not work (i.e., $x-; whereas it should be $x–;).
2.) Page 68 – Presents the do..while loop in VB-style syntax (that is, with the do keyword followed by a colon and then line-separated statements, rather than with a C-style code block in {braces}). On the next page, the author then informs us that the VB-style syntax, which is offered for while loops and for loops, is actually not available for the do..while loop. So why was it presented that way on the previous page? I suppose it was meant to be a pseudo-code representation, and not the actual syntax – but it’s certainly misleading.
3.) Page 76 – Convoluted description of “continue n;” syntax: “The optional n acts as the opposite of the n accompanying the break statement, specifying to the end of how many levels of enclosing loops the continue statement should skip.” Eh? I found this one to be rather difficult to comprehend, especially since no example was provided.
4.) Page 66 – At the top of the page, the first line of code reads, ‘if ($food == “pasta”)’, but the accompanying comment for that line reads, ‘//check $pasta value’, even though it is the value of $food we are checking (NOT the value of $pasta).
5.) For example, on pp. 90-91, the syntax for the ‘include’ function is listed first as ‘include(path/filename);’ (parentheses but no quotes around path) and then, alternatively, as ‘include “path/filename”;’ (with quotes around path, but no parens). But in the example that follows, it is written as ‘include (“array_sorting.inc”);’ – which contains both quotes AND parentheses. I suppose all three are acceptable – but this is not stated explicitly, and as such, it’s very unclear.
All in all, not a bad book in terms of content covered, but it definitely should have been edited more carefully. If you’re relatively comfortable with another programming language already, you’ll probably catch most of the typos – but I’d still keep the PHP documentation handy.

نقد و بررسیها
هنوز بررسیای ثبت نشده است.