Thursday 7 December 2017

تتحرك من المتوسط روبي


بداية روبي (شرائه في الأمازون) هو كتاب البرمجة روبي تهدف إلى القادمين الجدد إلى اللغة. It8217s مكتوبة في شكل تعليمي ويمشي من خلال مفاهيم البرمجة الأساسية من خلال لبناء تطبيقات الويب، وتطبيقات قاعدة البيانات والشبكات الشياطين، وتطبيقات واجهة المستخدم الرسومية القائمة. It8217s مناسبة تماما لشخص جديد للبرمجة وكذلك المطورين ذوي الخبرة الذين هم فقط جديدة إلى لغات ديناميكية. راجع جدول المحتويات. حيث لشراء الأمازون عادة ما يقدم أفضل سعر لبدء روبي. التحقق من ذلك على الأمازون (الولايات المتحدة) أو Amazon. co. uk (المملكة المتحدة). الكتاب متاح في كل من صيغ الطباعة و كيندل. بدلا من ذلك، الناشر، أبريس، لديه أيضا كتاب للبيع بسعر التجزئة الكامل وكذلك إصدار بوكبدف الإلكترونية. ابتداء من روبي لديه 27 استعراض 5 نجوم فوق في أمازون، ولكن وردت أخرى في استعراضات طرف ثالث أو عن طريق البريد الإلكتروني: هذه ليست مجرد مقدمة ل روبي. كثيرا ما يتم مناقشة كل التكنولوجيا التي ترتبط روبي في بعض الطريق .. المؤلف، بيتر كوبر، ومن الواضح أن المطور روبي جيدا مقربة، وحماسه للموضوع يضيء من خلال. ومع ما يقرب من ضعف عدد الصفحات كما الكتب الأخرى التي تمت مراجعتها هنا، له بسهولة أفضل قيمة من الثلاثة. 8212 أندي هدسون، لينكس فورمات بيتر كوبر 8217s بداية روبي: من المبتدئ إلى المهنية اثنين من الجمهور، المبتدئين مع أي خبرة البرمجة الذين يرغبون في تعلم روبي كلغة البرمجة الأولى، وقدامى المحاربين الذين يرغبون في إضافة روبي إلى أدوات البرمجة الخاصة بهم. استجابة Cooper8217s لهذا التحدي هو دخول قوي في الساحة المحدودة من الدروس روبي. 8212 تيم هنتر هذا يجب أن يكون أفضل كتاب للمبتدئين روبي، سواء كان ذلك لكتابة أو التحرك نحو القضبان. . بسهولة 910 في عيني 8230nothing يحصل على 10 إلا إذا كان لديه nudity8230.and أن 8217s ليست دعوة بيتر. 8212 جيمي فان دايك I8217ve تم قراءة بداية روبي بيتر كوبر. I8217m أعجب حقا. . كتاب كبير لمبرمج جديد، أو مبرمج جديد ل روبي. It8217s بديلا رائعا للكتب المبتدئين الأخرى 8217s على روبي هناك. 8212 بات إيلر كل كتاب كريس Pine8217s ودليل why8217s لها لحظات، ولكن في رأيي كتاب Cooper8217s لديه حافة كبيرة في الوضوح والفائدة. . بالإضافة إلى كونه كتاب روبي كبير، it8217s أيضا واحدة من أفضل الكتب 8220tech8221 I8217ve شراؤها من أي وقت مضى. IT8217s نادرة أن نرى هذا المستوى من الجودة في الكتابة التقنية. 8212 8220Phren0logy8221 على الأمازون أنا حقا أحب بداية روبي. I8217ve تم تدريس دورة روبي في كسف (كلية مدينة سان فرانسيسكو) على مدى العامين الماضيين و I8217ve تستخدم بيكس كما الكتاب الرئيسي. It8217s كتاب غرامة، لكنه 8217s صراع على التكيف مع هذا الفوضى عقدة في سلسلة من الدروس التعليمية. الفصل الدراسي التالي I8217m باستخدام كتابك (CS132A) لأنني أشعر أن قمت بعمل عظيم لتنظيم المواد إلى قطع قابلة للتعلم. You8217ve حفظت لي عذاب كتابة كتابي الخاص. عمل جيد. 8212 دوغلاس بوتنام 8211 أستاذ علوم الكمبيوتر، سسف العمل من خلال أقسام مبكرة وتمتع حقا الكتاب حتى الآن، وصفك التوجه الكائن هو أفضل لقد جئت عبر في أي كتاب. 8212 كاويمه O8217Broin أفضل، وأشمل، مقدمة ل روبي I8217ve ينظر. . النص ليس جاف ولا غريب الاطوار، ولكن مزيج مثالي بين المواد المرجعية والتدريب العملي على البرنامج التعليمي. . أنا تقريبا أريد شراء نسخة ثانية من التقدير الهائل لبيتر كوبر توفير دليل كبير ل لغة برمجة كبيرة 8212 زيف مورغان أعتقد بداية روبي: من المبتدئ إلى المهنية هو أفضل كتاب روبي الأول من بيكس الجليل. .. إذا كنت تريد أن تتعلم روبي، بداية روبي هو الكتاب لشراء. 8212 لاري رايت 2 أكتوبر 2009 183 قدم تحت أونكاتغوريزد كما مؤلف بداية روبي. أنا كسب المال لكل نسخة تباع في شكل مطبوع والإلكترونية (فضلا عن بعض الإيرادات المتنوعة I8217ll تغطية في وقت لاحق). It8217s ليس الكثير من المال 8211 ولكن هذا wnn8217t الدافع لكتابة الكتاب. في هذا المنصب I8217m سوف تظهر لك كيف يعمل كل من وجهة نظري بما في ذلك أرقام المبيعات. صور من بيانات الملكية الخاصة بي. معلومات عن تقدمي. والأشياء الشنيعة مماثلة. هناك 8217s حتى قسم في النهاية حول كيف سخرت لي أبريس قبالة قليلا (على الرغم من أنني don8217t نأسف لتجربة معهم 8211 أنهم 8217re ناشر جيد عموما، على الرغم من أقل من ذلك منذ إعادة الهيكلة) ولماذا I8217m سعيدة معك القرصنة كتابي إذا كنت لذلك (على الرغم من أن هذا هو بأي حال من الأحوال التشجيع على القيام بذلك 8211 it8217s لا يزال غير قانوني، للأسف) 19 أكتوبر التحديث: بعد تلقيها بشكل جيد من قبل القراء على هاكر أخبار و رديت قبل أسبوع، وكانت هذه القصة سلاشدوتد مع ملخص غير دقيق يوم 16 أكتوبر 8211 في نفس اليوم ولدت ابنتي ولذلك أعيد توجيه كل حركة المرور إلى هذا الموقع إلى صفحة التبرع بالسرطان كما كنت cann8217t ريبوت التعليقات سيئة وكان لي أشياء أكبر على ذهني في ذلك الوقت. ومع ذلك، أشعر بأنني بحاجة إلى إعطاء بعض المعلومات الإضافية في هذا المنصب لتوضيح النقاط التي أسيء فهمها من قبل قلة من القراء. هذه الملاحظات المضافة بخط مائل غامق. و أدفانس و 8220advance8221 هو مبلغ من المال تحصل عليه من الناشر الخاص بك في المقدمة أثناء كتابة الكتاب. ظاهريا تقدم لك الدعم أثناء كتابة الكتاب، ولكن حقا it2121s لضمان الحصول على الكتاب انتهى. في الطبعة الأولى مرة أخرى في عام 2006 حصلت على تقدم من 6000. أبريس يعطيك ثلث في وقت واحد في هذه النقاط: 1) عندما يتم الانتهاء من ثلاثة فصول والموافقة عليها، 2) عند اكتمال ثلثي الكتاب، و 3) عند اكتمال المخطوطة. حتى بلدي 6000 انتشرت على مدى 9 أشهر. ملاحظة: بعض غير الكتاب يجعلون خطأ أن السلف هو نوع من المنح أو المنحة، وأنه بمجرد الخروج من الكتاب، يمكنك كسب المزيد من المال لكل نسخة بيعها. كلمة 8220 مسبقا 8221 هو اختيار جيد، لأن الدفع هو ببساطة الإتاوات مقدما. حتى إذا كنت تحصل على 1000 مقدما وجعل 1000 في الإتاوات في السنة الأولى، لا تحصل على أي أموال إضافية. الإتاوات التي قدمت مرة واحدة في الكتاب هو في الواقع بيع 8220pay يعود 8221 التقدم الذي تلقيته في وقت سابق. الميزة الوحيدة لك هو أنه إذا كتابك القنابل و doesn8217t حتى بيع ما يكفي من النسخ لسداد السلف، وكنت (عادة) don8217t لديها لإعطاء الناشر مرة أخرى بنس. كيف يمكنني الحصول على كل كتاب سعر التجزئة (رب) من بداية روبي هو 40 (إعطاء أو أخذ فلسا واحدا) ولكن ناشري، أبريس، يجعل كمية متفاوتة في الكتاب 8211 I don8217t تعرف لماذا (تحديث: I8217ve قيل من قبل علم القراء بأن السعر الصافي المتغير هو بسبب حصول تجار التجزئة والموزعين على خصومات أفضل من غيرها. يتم عرض 8220a صافي صافي السعر 8221 على بيانات الملكية الخاصة بي ولكن هذا يتقلب. it8217s عادة في أي مكان بين 18.00-19.00. Let8217s يقول 18.50. من هذا 18.50، أحصل على: 10 (1.85) لكل من 4000 نسخة الأولى المباعة 12.5 (2.31) على النسخ 4001-8000 15 (2.77) على النسخ 8001-12000 17.5 (3.23) على النسخ 12001-25000 20 (3.70) بعد ذلك ملاحظة: إذا كنت تعزيز الكتاب مع وصلة تابعة لأمازون وجعل 4 عمولة على بيع 26، يمكنني إضافة دولار آخر للبيع. على الرغم من بيع الكتاب الإلكتروني مباشرة في 27.99، فإن السعر الصافي للكتاب الإلكتروني يأتي إلى حوالي 18.00 بشكل عام. وبما أنه لا توجد تكاليف الطباعة أو سلسلة التوريد، على الرغم من أنك تحصل على ضعف الإتاوات على الكتب الإلكترونية. إذا كانت النسخ المطبوعة تحصل حاليا على 10 حقوق ملكية، مثلا، يمكنك الحصول على 20 نسخة من مبيعات الكتب الإلكترونية. وهذا يعني في علامة 10، it8217s 3.70 في الكتاب الإلكتروني، 4.62 عند مستوى 12.5، 5.54 على مستوى 15، وهلم جرا. أرقام المبيعات ككتاب تمهيدي إلى لغة البرمجة، بدأت بداية روبي المبيعات المعمرة 8211 it8217s ليس كتابا زمنيا محددا (مثل، للأسف، 90 من القضبان الكتب). وكان أكبر انفجار حول إطلاق 8211 كما بالنسبة لمعظم كتب التكنولوجيا 8211 ولكن مبيعات didn8217t انخفاضا كبيرا للطبعة الأولى على مدى عمرها. في 2 سنوات (8 أرباع كاملة)، تم بيع 7673 نسخ ورقية و 486 الكتب الإلكترونية. وعززت المبيعات في أوائل عام 2009 ما يصل إلى حوالي 8500 نسخة ورقية و 500 كتاب إلكتروني إجمالي للطبعة الأولى. على الرغم من أن البيانات منذ عام 2008 من الصعب جدا قراءة أنا haven8217t حصلت على الرقم الدقيق. أما الطبعة الثانية من "بيجينينغ روبي" فقد تم تكليفها في أواخر عام 2008 وصدرت في آب / أغسطس 2009، لذلك لا توجد أرقام مبيعات لها على الإطلاق. مرة واحدة هناك، I8217ll يتم نشر مرة أخرى. It8217ll تكون مثيرة للاهتمام لمعرفة ما إذا كانت الطبعة الثانية تشهد انفجار مماثل لأول مرة. وقد اقترح المؤلفون أبريس أخرى أنها سوف. في المخطط الكبير للأشياء، وبيع حوالي 9000 نسخة من كتاب فني ليست سببا للاحتفال كبير أو اليأس. الكتاب دفعت بسهولة تقدمها في الربعين الأولين و it8217s قدمت العداء مع حوالي 170،000 في صافي الإيرادات على مدى عامين (منها حوالي 19،000 انتهى معي). بيانات الملكية أعطيت التفاصيل البارزة أعلاه ولكن أريد أن اظهار بعض من عبارات الملكية Apress8217s. مرة أخرى في عام 2007 أنها تبدو مثل هذا: ملاحظة: قد نقدر رؤية جون Resig8217s بيان الملوك عن نفس الفترة تقريبا لتقنيات برو جافا سكريبت. بطريقة أو بأخرى، كان كتابي يخرج عنه، لكنه حصل على تقدم أفضل، أعتقد أن هذه التصريحات كانت باردة جدا. كنت أعرف 8217t دائما معرفة لماذا كان يحسب الاحتياطي كما كان أو ما 8220 حقوق متماثلة 8221 كانت، ولكنني يمكن أن نرى بسهولة كم عدد النسخ I8217d تباع في كل من شكل مطبوع والكتاب الإلكتروني في الربع وكان تاريخ جيد وانهيار بلدي دفع. ملاحظة: انظر 30 حجب في الضرائب في أسفل اليمين اتضح إذا كنت don8217t تحديد كدافع الضرائب الأمريكية (ولها العدد المطلوب 8211 الذي، للأسف، يجبر لك ثم تقديم الإقرارات الضريبية في الولايات المتحدة)، والضرائب الأمريكية فإن الرجل لا يزال يسرق 30 من الإتاوات الخاصة بك (على الرغم من الغريب ليس السلف الخاصة بك) لتمويل جميع أنواع هراء الشائنة. لحسن الحظ، إذا كنت 8217re في واحدة من عدة بلدان مع معاهدة ضريبية مع الولايات المتحدة على الأقل، يمكنك المطالبة مرة أخرى بعض أو كل من الضرائب المحتجزة من ضريبة الدخل المحلية الخاصة بك. it8217s ليس من السهل على الرغم من. في عام 2008 أبريس نفذت جديد، من المفترض أن أفضل نظام العودة، والآن البيانات الملوك هي مثل هذا: الاعتذار عن جودة الصورة أخذت على اي فون بلدي و فوتوشوبيد ذلك. هذا البيان تحول اليوم، ويغطي فقط بعض مبيعات الكتب الإلكترونية التي حدثت في الفجوة بين الطبعة الأولى والثانية (وهذا هو السبب في أنه يغطي فقط حوالي 150 المبيعات). لذلك، it8217s واحدة من عبارات أبسط تلقى I8217ve ولكن ما زلت أشعر وكأنه درجة في إخفاء المعلومات لمعرفة ذلك. أحصل على جيست، لكنهم يفعلون أشياء مجنونة مثل تقسيم 12.5 الملوك تصل إلى قسم ل 10 و آخر ل 2.5. ثم لديك 8220proportional الاليكترونى الملوك 8221 أقسام المضافة على. يمكنك أيضا الحصول على 8220reserve8221 الخاص بك مرة أخرى بعد 18 شهرا وعند إضافة تلك في كذلك. it8217s حطام القطار مقارنة مع البيانات على غرار 2007. وأنا أعلم I8217m ليس فقط الكاتب أبريس أن يشعر بهذه الطريقة. إذا كنت didn8217t انظر المرجع إلى 8220reserves8221 في بيانات الملوك أعلاه، انتقل إلى الوراء والتحقق. في الأساس تحصل على قطع من الإتاوات الخاصة بك مخبأة بعيدا لمدة 18 شهرا (من الناحية الفنية 82206 فترات 8221 8211 ولكن منذ فترة ربع، أن 8217s 18 شهرا) من أجل دفع ثمن أي 8220returns8221 8211 الكتب التي المكتبات ترسل إلى الناشر الذي يمكنهم 8217t بيع . في عام 2007 وأعتقد 8211 على الرغم من I8217m غير متأكد 8211 أن لدي 2200 من الإتاوات اتخذت بعيدا عن الاحتياطيات. ثم حصلت على هذه المبالغ في وقت ما في الآونة الأخيرة. ومن الغريب أن الضرائب على هذه الاحتياطيات أخذت مرة أخرى في عام 2007، وذلك على الرغم من أنه كان 8220 دخل 8221 ضريبة الولايات المتحدة الحكيمة، لم تتحقق الدخل 8217t حتى عام 2009. وهذا يخلط لي بقدر I8217m متأكد من أنك سوف. الحقوق المرخصة في بيانات حقوق الملكية أعلاه، سترى مراجع إلى 8220 حقوق مرخصة. 8221 أخبرني المحرر الأول أن هذه هي الدفعات التي تتلقاها للنسخ الأجنبية من كتابك، لإدراجها في أنظمة مثل O8217Reilly سفاري و 8220similar.8221 I8217ve سألت بضع مرات الآن ولكن I8217ve لم يتم العثور على ما هي هذه المبالغ خصيصا ل I8217m لا علم من أي طبعات مترجمة من بداية روبي. (تحديث: في أكتوبر 13 8211 منذ 6 أيام 8211 شخص من أبريس اتصل بي أن اسمحوا لي أن أطرح أسئلة حول بعض من هذه القضايا، ولكن أنا haven8217t كان ردا حتى الآن) الطبعة الثانية 8211 دفعة جديدة ولكن الإمتياز العودة إلى 10 .. في أواخر عام 2008، محرر في أبريس 8211 ميشيل لومان (تحديث: من، بالمناسبة، كان محرر عظيم). 8211 على اتصال معي عن كتابة الطبعة الثانية من بداية روبي. ومنذ عام 2006، تغير عدد من تفضيلات المكتبات، وتغيرت عناوين ورل، وكانت هناك بعض التحديثات أو الأقسام الجديدة التي يجب القيام بها (مثل الإشارات إلى روبي 1.9، والمكتبات الجديدة، وتطوير واجهة المستخدم الرسومية، وأطر الويب البديلة). الآن، كان wnn8217t حريصة بشكل خاص على القيام الطبعة الثانية لمجموعة متنوعة من الأسباب، ولكن ينص العقد أبريس أنه إذا كنت don8217t، لديهم الحق في القيام بذلك دونك، يكون شخص آخر اسم 8217s صفع على الكتاب، وأعتقد ، يمكنك الحصول على المال مأخوذة من الإتاوات الخاصة بك لدفع لقطع مختلفة من العمل الإضافي. بعد أن سحبت كتابي من تحت قدمي didn8217t جذابة الصوت لذلك أنا وقعت على القيام بذلك. الشيء الغريب حول القيام الطبعة الثانية هو أن it8217s لا يعامل حقا كما 8220second Edition.8221 بدلا من ذلك، it8217s مثل كتاب جديد كل شيء. تحصل على تقدم جديد (6500 في حالتي 8211 500 أكثر من بلدي الأول ولكن أسوأ بكثير بسبب سعر أوسد-غبب في ذلك الوقت) وعليك أن تذهب من خلال جميع الاقتراحات نفسها كما هو الحال مع كتاب جديد. حتى معدل الإتاوات وأرقام المبيعات الخاصة بك حتى إعادة تعيين إلى مربع واحد حتى you8217re العودة مباشرة إلى 10 الملوك بعد مخالب طريقك تصل إلى 15 بعد 8000 المبيعات. إك. بدف فيسكو الحرة (أو كيف أبريس حقا سكرني قبالة) منذ المال wasn8217t حار جدا و I8217m أكثر اهتماما في مبيعات الطباعة على أي حال، ذهبت إلى مفاوضات الطبعة الثانية مع الإصرار على أن إصدار إليكترونيبدف من الكتاب يمكن أن تكون متاحة بحرية 8211 كما في البيرة، بدلا من الكلام. بعد كل شيء، كانت مبيعات الكتاب الإلكتروني 8217s سيئة 8211 طبعة مطبوعة من 17 إلى 1 8211 و أبريس جعلت خير 7500ish أكثر من 2 سنوات منه. مثل سيث غودين، وكذلك، مئات من المؤلفين الآخرين، وأعتقد أن نسخ إلكترونية مجانية يمكن أن تزيد بشكل كبير من مبيعات الطباعة والطباعة. مع كتاب مثل بداية روبي. فإن أغلبية القراء يريدون كتابا مطبوعا، لذلك يبدو أنه ليس من العقل أن يبقي المبيعات قوية في سوق مع منافسة متزايدة (من مانينغ، على وجه الخصوص). ليس لدي أي سبب للاعتقاد محرر بلدي didn8217t محاربة زاويتي، ولكن كلما أخذت إلى الاجتماعات (حيث كل قمة أونس هونشوس تقرر ما الكتب لنشر وكيف) عادت تقول أن أعلى weren8217t النحاس حريصة. توسلت وتسول، وكتبت اثنين من النداءات، وعرضت التحدث مباشرة إلى هؤلاء الناس للحصول على أفكاري عبر، ولكن لا شيء 8211 لا شيء. وكان الحل الوسط الوحيد الذي تم التوصل إليه هو أن اثنين من الفصول يمكن الافراج عنهم شهريا، على حدة 8211 الذي هو بمثابة جذابة للقراء كما الحصول على عشر من النشوة الجنسية. حتى هذا didn8217t جعله في العقد الخاص بي، وأنا لم دفع على ذلك. (تحديث: لقد أشار بعض القراء، بحق، إلى أن هناك قضايا تجارية مختلفة بشأن التخلي عن الكتب الإلكترونية من أجل تشجيع مبيعات الطباعة 8211 وليس كل الكتب من المرجح أن تستوفي المعايير، وكنت قد وافقت على أول طبعة بلدي، ولكن طبعتي الثانية تدخل جو أكثر تنافسية بكثير 8211 it8217s لم يعد الوحيد حتى الآن كتاب أيضا، على الرغم من المبيعات الجيدة واستعراضات كبيرة، وقد لاحظت كتابي 8217t من قبل مجموعة واسعة من المجتمع روبي الأكثر خبرة، ونفس الناس الذي يوصي الكتب للآخرين إذا كان الناس أكثر خبرة يمكن 8220test8221 الكتاب مجانا، أنهم 8217re أكثر عرضة لتوصية للقادمين الجدد. كتابي 8217t حتى المدرجة في قائمة الكتاب روبي مصرح بها رسميا في ruby-doc. org 8211 جانبا، كان مرة واحدة مع تعليق العنكبوت بجانبه، ولكن أعتقد أن المشرف لديه ضغينة ضد لي) في نهاية المطاف تم نشر الكتاب في أغسطس 2009 وأنا لم أرى بعد كيف سيتم بيعها. ما انقلبت حقا غطاء بلدي، على الرغم من، كان يرى كتب أخرى مثل القفز إلى بيثون و برو جيت الحصول على العلاج أردت. يمكنك قراءة كل من هذه العناوين رهيبة على الانترنت، في كامل، مجانا. تقديم المحتوى الإلكتروني مجانا لتعزيز مبيعات الكتب المطبوعة isn8217t مفهوم الغريبة إلى أبريس حتى person8217s لعب المفضلة هناك. القراصنة كتابي (نعم، أن 8217s علامة استفهام.) (تحديث: هذا هو القسم الأكثر إثارة للجدل وأكثر سوء فهم. أنا أقول أساسا أمرين: 1 8211 إذا كنت القراصنة كتابي، وأعتقد أن 8217s باردة جدا، و 2 8211 I8217m تشغيل تجربة الفكر على الطرق حول القيود القانونية هناك لاحظ أن أنا لا أقول 8220you يجب أن القراصنة كتابي 8221 أو 8220 يرجى كسر القانون والدخول في مشاكل 8221 كما يعتقد بعض سلاشدوترز. أقول هذه ليست فكرة جيدة إذا كنت ليسوا على علم بالمخاطر، لذلك، لا، I8217m لن أتبعك وأعتقد فعلا أنه 8217s كبيرة عندما أرى كتابي يجري المقرصنة، ولكن لا أستطيع أن أدعو لك كسر القانون.) ردي فعلي لرؤية الكتب أبريس أخرى الحصول على مجانا، النسخة الإلكترونية العلاج هو: I8217m جيدة معكم القراصنة كتابي (تحديث: 8220I8217m جيدة معك 8221 لا معنى 8220 يجب أن، 8221 كما يعتقد بعض سلاشدوترز). الآن، بالطبع، يمكنني can8217t المشاركة بنشاط في القرصنة كتابي ولكن، هيك، it8217s حولها على الكثير من 8220 مجانا الكتاب الإلكتروني مواقع 8221 وعلى رابيدشار. هناك حتى الروابط على تويتر إلى السيول من هذا القبيل. أنا سعيد بالنسبة لك لقرصنة كتابي، ولكن. I8217m ليس محاميا، وأنا يمكن أن 8217t ضمان ما أبريس سوف تفعل حيال ذلك 8211 لذلك you8217d أن تفعل ذلك من ظهرك مرة أخرى لذلك، أوم، don8217t القراصنة هو الشرط الوحيد، بالطبع، إذا قمت بذلك هو أنه إذا كنت مثل الكتاب و كنت تعتقد أن نسخة مطبوعة سوف تنتفخ لامتلاك، يرجى شراء واحدة 8211 حتى لو كان 8217s فقط لشخص تعرفه من يريد أن يتعلم البرنامج (تحديث: I8217ve تلقى رسائل البريد الإلكتروني من القراء الذين ذهبوا إلى القيام بذلك بالضبط). الآن 8211 تجربة فكرية. وفقا لعقدي، أملك حقوق الطبع والنشر للكتاب بأكمله باستثناء الغلاف، جدول المحتويات، والفهارس. ينص عقدي أيضا على أنني سمح حصريا أبريس بنشر وإعادة إنتاج المحتوى الخاص بي. وبالتالي. أظن أنه إذا أخذت كتابي، أزل الغطاء والمحتويات والفهارس، وتحويله إلى بدف مع غطاء من إنشائك الخاص، أبريس cann8217t تفعل أي شيء حيال ذلك لأن كل شيء سيكون حق المؤلف الخاص بي. الآن، لا أستطيع أن أسمح لك أن تفعل هذا، ولكن أنا لن متابعة لك إذا فعلت ذلك، إيه، don8217t القيام بذلك (تحديث: نعم، I8217m علم هذا هو 8220cute8221 اللغة ولكن رسالتي isn8217t محجوب جدا 8211 أنا أحب رؤية كتابي المقرصنة ولكن لا أستطيع أن أطلب قانونيا أن تفعل ذلك أو لكسر القانون) الاستنتاجات كوسيلة لتصبح معروفة، أن يكون شيئا رهيبة ل رسوم الخاص بك، أو لتلبية طموح 8220 كتابة كتاب ونشرها 8221، وكتابة كتاب والحصول على نشرت من قبل الناشر الرئيسي isn8217t وسيلة سيئة لقضاء وقتك. إذا كان القليل من الشهرة والاحترام هي كل ما تريد، كتاب واحد هو ما يكفي. إذا كنت ترغب في كسب دخل خطير من الكتب، تحتاج إلى ضخ العديد من الكتب. أن 8217s لماذا يبدو أن معظم الكتب التكنولوجيا من قبل المؤلفين الذين 8217ve كتب كتاب واحد أو العديد من الكتب (يبدو لي أن أذكر نوث جعل تلك الملاحظة مرة واحدة). I8217d يجادل أنه ما لم كنت 8217re كتابة كتاب المتخصصة جدا (أن 8217s من غير المحتمل أن تكسب تقدمها) أو كتاب أن 8217s من المرجح أن تكون شعبية للغاية، يجب تجنب الناشرين الرئيسيين وبدلا من ذلك العثور على ناشر متوسطة الحجم التي يمكن أن تقدم الإتاوات أكثر جاذبية. السلف تبدو جذابة ولكن إذا كان لديك امتياز معدل تمتص، فإنه لا فرق مهما كنت تعتقد أنك 8217ll أبدا كسب ذلك مرة أخرى. بدلا من ذلك، ابحث عن الناشر مثل براغماتيك رف الكتب التي يمكن أن نقدم لكم 50 الإتاوات. (تحديث: كان هناك الكثير من فود على براغس 8217 سعر الملوك الذي ديف وقد واجهت هنا). حتى لو I8217d باعت فقط 2000 الكتب لمدة 18 صافي (مقابل 8500 في أبريس)، I8217d جعلت نفس المال التسويق أن ناشر مثل أبريس يمكن أن توفر don8217t أربعة أضعاف المبيعات الخاص بك، لذلك كنت 8217d يكون أمامك. كما أن الناشرين الأصغر سهلا هم أيضا من السهل التحدث إليهم (من ما سمعته I8217ve) ويمكنك التفاوض على صفقات ترخيص أفضل معهم. أنا بالتأكيد cann8217t أقول أنا يؤسفني تجربة البداية روبي، على الرغم من. ما سبق هو كل الاشياء I8217ve المستفادة بسبب هذه العملية و هناك 8217s الكثير الذي don8217t يعرف باعتباره لا كتاب مبتدئ. الحصول على كتاب واحد تحت الحزام الخاص بك مع 8220regular8221 الناشر يمكن أن تفتح عينيك ويكون لها تأثير كبير على طريقك في التفكير. I8217ve أيضا حصلت على العمل مع بعض الناس مثيرة للاهتمام حقا في أبريس (ومعظمهم الذين، للأسف، ترك أو أطلقت في نطاق واسع كبيرة فعلت مؤخرا). وكان تأثير بداية روبي إيجابية فقط بالنسبة لي، حتى لو كان hasn8217t ذهب بسلاسة كما أراد I8217ve. ويمكن بالتأكيد أن يكون أسوأ من تلقي الشيكات العشوائية مع بيانات الملوك غير قابلة للتجزئة كل بضعة أشهر 8 أكتوبر 2009 183 قدم تحت أونكاتغوريزد مع هذا المنصب أريد أن تتبع بعض من 8220Begining Ruby8221 الاستعراضات التي أجريت على بلوق أخرى على مر السنين. About8217s ريفيو 8211 8220 بداية روبي هو خيار ممتاز لأي بداية روبي مبرمج. في مواجهة المنافسة الراسخة، بداية روبي يحمل تلقاء نفسها ويبقى خيارا جيدا. 8221 29 مراجعات على أمازون 8211 26 منها 5 نجوم 3 هي 4 نجوم. بات Eyler8217s ريفيو 8211 8220Beginning روبي هو كتاب كبير لمبرمج جديد، أو مبرمج جديد ل روبي. لها بديلا رائعا للمبتدئين الكتب الأخرى على روبي هناك. 8221 ستيفن Bartholomew8217s مراجعة 8211 8220 حتى مع لغة مثل روبي، تعليم المبتدئين كاملة كيفية البرنامج لا يعني الفذ. بيتر Cooper8217s كتاب جديد 8216Beginning Ruby8217 يحاول اتخاذ المبتدئين كاملة من خلال كونه مبرمج المختصة 822121 هوو Collingbourne8217s مراجعة 8211 8220 مرة أخرى، ثم، يمكن أن أوصي هذا الكتاب كمقدمة جيدة لأساسيات البرمجة روبي وقسمها المحدث على شبكة الإنترنت أطر التنمية هي موضع ترحيب. 8221 مراجعة على سلاشدوت 8211 8220It8217s كتاب جيد لشخص يريد أن يتعلم روبي كلغة البرمجة الأولى. يمكن أن يكون أفضل. أعجبت المريض Cooper8217s وتفسيرات مدروس حول تثبيت روبي و روبيجيمز، وكيفية استخدام سطر الأوامر، وما هو محرر النص ل. كوبر يوفر إجابات على جميع الأسئلة روبي نوبي نموذجية، ولكن تفسيره للمفاهيم الأساسية هو مشوب من قبل إشارة مربكة في بعض الأحيان إلى مواضيع متقدمة أو حتى غير ذات صلة. للمبرمج من ذوي الخبرة الذين يتعلم أفضل من خلال القراءة والعمل من خلال الأمثلة هذا الكتاب هو خيار جيد. ديف توماس 8217 البرمجة روبي، وبرمجية مبرمج 8217s دليل (a. k.a. ذي بيكس) هو منافس صعب، ولكن كل كتاب لديه كمية كبيرة من المواد التي لم يتم العثور عليها في الكتاب الآخر. على سبيل المثال مرجع مكتبة الأساسية Pickaxe8217s هو شامل ولكن لديها سوى كمية محدودة من هذا النوع من التفسيرات البرنامج التعليمي الذي هو بداية Ruby8217s strength.8221 7 أكتوبر 2009 183 قدم تحت أونكاتغوريزد Let8217s بدء تشغيله: تثبيت روبي برمجة الفرح: ستوب جولة من روبي وتوجيه الكائن Roby8217s لبنات البناء: البيانات والتعابير والتحكم في التدفق تطوير تطبيق روبي الأول الخاص بك النظام البيئي روبي وفئات المجتمع والكائنات والمشاريع وحدات والمكتبات وثائق ومعالجة الأخطاء وتصحيح الأخطاء والاختبار ملفات وقواعد البيانات نشر روبي التطبيقات والمكتبات ميزات روبي المتقدمة ربطها معا: تطوير روبي أكبر تطبيق أطر تطبيق الويب: القضبان، سيناترا، وراماز روبي وشبكة الإنترنت، مآخذ، و ديمونس المستندة إلى واجهة المستخدم الرسومية تطوير تطبيقات سطح المكتب مفيدة روبي المكتبات والأحجار الكريمة الملاحق الملحق أ روبي التمهيدي ومراجعة للمطورين الملحق ب روبي المرجع الملحق C الاستخدام فول ريسورسز 2 أكتوبر 2009 183 قدم تحت أونكاتغوريزد أساسيات الهجرة على الرغم من أن هجرة الطائر الطنان ليست موثقة بشكل جيد من قبل أعداد كبيرة من سجلات النطاقات، ونحن نعلم بعض الحقائق، ويمكننا أن نستخلص استدلالات منطقية حول بعض المناطق المجهولة. (كوتيباندينغوت يعني محاصرة الطيور وتلف شريط صغير من الألمنيوم حول ساق واحدة، وهذا هو حاليا السبيل الوحيد لتحديد الطيور الطنان الفردية. يتم دراسة الأنواع من خلال جمع البيانات عن أعداد كبيرة من الأفراد). كل الأنواع الطائر الطنان لديها استراتيجية الهجرة الخاصة بها ، ومن غير الصحيح أن نفكر في كووثومينغبيردسكوت كنوع واحد من الحيوان، على حد سواء. هذه المقالة سوف تناقش الهجرة الروبيية الحنجرة، لأن من المرجح أن المزيد من الناس يرون أن الأنواع من جميع الآخرين في أمريكا الشمالية مجتمعة، ودينامياتها هي مماثلة للأنواع الأخرى، على الرغم من التواريخ والمواقع تختلف. استثناء هو أناس الطائر الطنان، الذي عادة لا تهاجر ولكن قد يهيمون على وجوههم صعودا وهبوطا بعد الموارد الغذائية الموسمية. وتشير دراسات النطاقات إلى أن الطيور الفردية قد تتبع طريقا عاما بعد عام، وغالبا ما تصل إلى نفس التغذية في نفس اليوم. نحن لا نعرف ما إذا كان أي فرد الطيور يتبع نفس الطريق في كلا الاتجاهين، وهناك بعض المؤشرات على أنها لا. لماذا تهاجر كما هو الحال مع معظم الطيور المهاجرة لدينا، طائر على ما يبدو تطورت إلى أشكالها الحالية خلال العصر الجليدي الأخير. لقد كانت (ولا تزال إلى حد كبير) الطيور الاستوائية، ولكن مع تراجع الصفائح الجليدية العظمى من أمريكا الشمالية، فإنها توسعت تدريجيا نطاقاتها لاستغلال الموارد الغذائية المعتدلة الغنية وتعشيش الفضاء، وملء المنافذ غير المأهولة في الولايات المتحدة وجنوب كندا في حين تهرب من المنافسة الشديدة في المناطق الاستوائية. وقد تكيفت بعض أنواع الطيور المغردة تماما مع المناخات المتغيرة في أمريكا الشمالية، وذلك جزئيا عن طريق أن تصبح نباتيين في فصل الشتاء، ولا تهاجر. ولكن الطنان هي آكلات اللحوم (الرحيق هو مجرد الوقود لتشغيل نشاطها يسيطر على الطيور)، وتعتمد على الحشرات التي ليست وفيرة في سوبريزينغ الطقس، لذلك معظمهم يجب أن تراجع كوثومكوت العودة إلى أمريكا الوسطى في فصل الشتاء أو خطر المجاعة. يبقى عدد قليل من الياقوت الأحمر على طول ساحل الخليج كل شتاء بدلا من الاستمرار في أمريكا الوسطى، ربما لأنهم من كبار السن أو المرضى لجعل رحلة أخرى عبر الخليج أو صغارا جدا (من أعشاش متأخرة جدا) لديهم الوقت لزراعة الدهون وقوية بما فيه الكفاية لترحيل فرص البقاء على قيد الحياة تعتمد على شدة كل فصل الشتاء معين، وكثير يهلك في السنوات الباردة على نحو غير عادي. شتاء صغير آخر الشتاء في البنوك الخارجية في ولاية كارولينا الشمالية. الشمال، هجرة معظم، روبي-ثرواتد، الذبابي طائر، أقات أثناء الشتاء، في فترات متباعدة، الجنوبي أحد أبناء الجنوب، المكسيك، أيضا، واقع نحو الشمال، بنما. وبما أن الطيور الطنان تقود حياة منفردة ولا تعيش ولا تهاجر في قطعان، فإن طائرا منفردا قد يقضي فصل الشتاء في أي مكان في هذا النطاق حيث يكون الموئل مواتيا، ولكنه ربما يعود إلى نفس الموقع كل شتاء. يبدأ الحلق روبي التحرك شمالا في وقت مبكر من يناير كانون الثاني، وبحلول نهاية فبراير هم على الساحل الشمالي من يوكاتان، التمسك على الحشرات والعناكب لإضافة طبقة سميكة من الدهون استعدادا للطيران إلى الولايات المتحدة بعض سوف تنورة الخليج من المكسيك واتبع ساحل تكساس شمالا، في حين أن معظمها عبر الخليج، وعادة ما يغادر في الغسق لرحلة بدون توقف تصل إلى 500 ميل، والتي تستغرق 18-22 ساعة اعتمادا على الطقس. على الرغم من أن الطائر الطائر قد يطير فوق الماء في شركة من قطعان مختلطة من أنواع الطيور الأخرى، فإنها لا كوثيتشيكيكوت على الطيور الأخرى. بعض الطنان الأرض على منصات النفط البحرية أو قوارب الصيد للراحة. الطيور الفردية قد تجعل الأراضي في أي مكان بين جنوب تكساس ووسط فلوريدا. قبل مغادرته، سوف تضاعف كل الطيور تقريبا وزنها، من حوالي 3.25 غراما إلى أكثر من 6 غرامات عندما يصل إلى ساحل الخليج الأمريكي، فإنه قد يزن فقط 2.5 غرام. من الممكن أيضا أن عدد قليل من روبي-ثرواتس جزيرة هوب عبر منطقة البحر الكاريبي ودخول الولايات المتحدة من خلال فلوريدا كيز. الذكور يغادرون يوكاتان أولا، تليها بعد 10 أيام من قبل الإناث الأولى. ولكن الهجرة تنتشر على مدى فترة ثلاثة أشهر، مما يمنع وقوع حدث كارثي الطقس من محو الأنواع بأكملها. وهذا يعني أن عدد قليل من الطيور سوف تصل إلى أي مكان في وقت مبكر جدا (النقاط على خريطة الهجرة)، ولكن الجزء الأكبر من السكان سوف تتبع في وقت لاحق، لذلك قد لا ترى الطائر الطنان الأول لعدة أسابيع أخرى. كل فرد لديه خريطة الداخلية الخاصة بها والجدول الزمني، والطيور كوتوركوت قد تصل في وقت مبكر، في وقت متأخر، أو في أي مكان في غضون شهرين. مرة واحدة في أمريكا الشمالية، عائدات الهجرة بمعدل متوسط ​​حوالي 20 ميلا في اليوم، عموما بعد أزهر في وقت مبكر من الزهور الطائر تفضل. الحد الشمالي من هذا النوع يتزامن مع ذلك من ساسوكر الأصفر بليد إذا وصل أقرب الذكور في كندا قبل الزهور كافية تزهر، أنها غارة الآبار سابسوكر للسكر، وكذلك أكل الحشرات اشتعلت في النسغ. واكتملت الهجرة من الشمال الى اواخر مايو. وتظهر دراسات النطاقات أن كل طائر يميل إلى العودة كل عام إلى نفس المكان الذي فقس، حتى زيارة نفس مغذيات. انظر خريطة الهجرة روبي-ثرواتد لنطاق الأنواع وأقرب مواعيد الوصول. الهجرة إلى الجنوب على عكس طيور الروف وغيرها من الطنان من الجبال الغربية، حيث الليالي تجميد شائعة حتى في الصيف، روبي الحنجرة أرينت تكييفها بشكل جيد لدرجات الحرارة الباردة لديهم وقت صعب دون منتصف 20s ​​(F)، ولا تدخل توربور كما بانتظام كأبناء عمومهم الغربيين للحفاظ على الطاقة. لتجنب البرد، وندرة الغذاء عندما تتوقف الزهور تتفتح والحشرات توقف الطيران، يذهبون الجنوب. ويبدأ بعض الذكور البالغين في الهجرة إلى الجنوب في منتصف تموز / يوليه، ولكن ذروة الهجرة إلى الجنوب لهذا النوع هي أواخر آب / أغسطس وأوائل أيلول / سبتمبر. وبحلول منتصف سبتمبر، أساسا كل من روبي-ثرواتد في مغذيات تهاجر من خلال أبعد من الشمال، وليس نفس الأفراد ينظر في الصيف. هذا أمر صعب أن نرى، لأنهم جميعا تبدو على حد سواء، ولكن ثبت من خلال دراسات النطاقات. وقد يكون عدد الطيور المهاجرة في الجنوب ضعف عدد الطيور التي تندرج في اتجاه الشمال، حيث أنها تشمل جميع الطيور غير الناضجة التي تفقس خلال الصيف، فضلا عن البالغين الباقين على قيد الحياة. ل هامر التي فقس فقط، ثيريس لا ذاكرة للهجرة السابقة، إلا أن الرغبة في وضع على الكثير من الوزن (انظر أعلاه) ويطير في اتجاه معين لفترة معينة من الوقت، ثم ابحث عن مكان جيد لقضاء شتاء. بمجرد أن يتعلم مثل هذا الطريق، طائر قد تعيد ذلك كل عام طالما أنها تعيش. ويعود السبب الرئيسي وراء ذلك إلى تقصير طول ضوء الشمس مع اقتراب فصل الخريف، ولا علاقة له بدرجة الحرارة أو توافر الغذاء في الواقع، حيث تهاجر الطيور الطنان جنوبا في وقت وفرة الغذاء. عندما الطيور هو الدهون بما فيه الكفاية، فإنه يهاجر. ليس من الضروري لإنزال المغذيات لإجبار الطنان على مغادرة، وفي الخريف كل الطيور في وحدة التغذية الخاصة بك تهاجر بالفعل على أي حال. إذا قمت بإزالة وحدة التغذية الخاصة بك، والطيور تغذية فقط في مكان آخر، ولكن قد لا يكلف نفسه عناء العودة إلى ساحة الخاص بك في العام المقبل. أوصي الاستمرار في الحفاظ على المغذيات حتى يصبح التجميد مشكلة. Many people notice that adult males migrate earlier than females, because in the last month or so there may be no birds with red throats at feeders. However, remember that immature Ruby-throats of both sexes look much like their mothers. Young males often have a quot5 oclock shadowquot of dark throat feathers in broken streaks, and many develop one or more red gorget feathers by the time they migrate. Immature females may have much lighter streaks in their throats, but no red. There is evidence that fewer Ruby-throats cross the Gulf in fall than in spring, most instead following the Texas coast back into Mexico. Perhaps the hurricane season is a factor, and the genes of many birds with a tendency to fly over water were lost at sea during storms. We still have many more questions than answers about hummingbird migration. Until technology provides radio transmitters small enough for a 3-gram hummingbird to carry safely, banding is the best tool to collect data on individual birds. But since only a few dozen people in North America - almost all of them amateurs like me - are licensed to handle hummingbirds, progress is slow and the odds of recapturing a banded bird are very low. Hi, I8217m Leo. Im a hybrid software developer, designer, marketer and entrepreneur. I am the CEO of Ballistiq. a web software design and development company. A little more about me gtgt Ballistiq Web Development Looking for a trusted, North-American based web development team who has a great track record Ballistiq provides bespoke design and development services. Weve built sites and applications for top companies including Autodesk, NVIDIA, Gnomon School of Visual Effects, Allegorithmic, Luxion and more. Categories Ruby on Rails vs PHP 8211 The good, the bad Note 8211 this article was written in 2012. I8217ve added an addendum to update the article with latest thoughts on May 30th, 2014 at the bottom. I8217ve been developing with PHP since version 2 (a very long time ago). I had been wanting to get into Ruby on Rails and had played with it since version 1 but never had the chance to really use it in production seriously until this past year with Ballistiq. Since then, I8217m now coding 8020 Ruby on Rails and PHP, so I8217ll give my thoughts on the two. At the time of writing, the versions I8217ll be talking about are PHP 5.3PHP 5.4 and Ruby on Rails 3.2 (running on Ruby 1.9.3). The context of this post is comparing the two specifically for web development. Aren8217t you comparing apples to oranges Rails is a framework for Ruby. PHP is a language and has many frameworks. What I8217m mostly comparing is my experiences working with both ecosystems: PHP framework (there are many) vs Ruby Rails (the predominant framework). While some may get hung up over trying to compare the two and may balk at the title of the article, this is a legitimate question that many developers ask. Many developers want to know what are the benefitsshortcomings of both ecosystems and genuinely just want a clear answer. From the popularity of the article via Google, it8217s something that tens of thousands of people actually are asking. Isn8217t it just a preference Yes and no. Both the PHP and Ruby ecosystem are very powerful. In many cases, yes you can just boil it down to a preference. However, there are many strengths for both and it8217s useful to be able to compare them in a level-headed fashion. I8217m not religiously attached to one or another. I8217ve used both. My company works with both. Both are here to stay and play important roles in the global web development industry. PHP 8211 The Good Simplicity and Learning Curve What I absolutely love about PHP is its simplicity and relatively shallow learning curve. When you first get into PHP, all you need is a single HTML web page. Change the extension to. php. Throw in some ltphp code here gt inline PHP, run it on a PHP web server and off you go. It8217s really dead simple for someone totally fresh to get something usable done and deployed within a few minutes. This has been one of the strengths of PHP and why it8217s so darn popular 8212 designers and non-coders can be productive right away. This simplicity, however, comes at a cost. It is a double edged sword as it leads to a lot of sloppy, unmaintainable code. This leads people to use frameworks that force a particular coding standard. The benefit of PHP8217s simplicity and shallow learning curve is a really big thing going for it and this has business benefits too: it8217s easier to find people who know PHP. If you look around, Ruby on Rails developers are more expensive and harder to find. The good developers who really know Ruby and Rails (the L33T ) tend to be more hardcore devs. The documentation for PHP is also fantastic. I find the docs for PHP far more useful than the ones for Ruby and the Rails Guides. The user comments really help and there is a lot of example code that shows you how to solve common problems. It8217s Made For The Web One big thing about PHP is that it really is focused entirely for the web. It8217s not a general purpose programming language like Ruby (or PythonJavaCPerletc.). Many of its inbuilt functions are specific to solving web problems and this makes it a very straightforward language to program for the web. مثلا if you want to send a header to the browser, just use the header() function. An MD5 or SHA1 hash is simply md5() and sha1(). It8217s not as straightforward to do this with RubyRails as you have to load in libraries and use namespacesmodules to get to the same functions. Lot8217s of Resources PHP has a ton of resources, frameworks, applications and libraries available for it. From CMS8217 like WordPress and Drupal to frameworks like Symfony and libraries like Doctrine, PHP really has a lot of good resources available. When it comes to deploying a simple CMS, for example, I almost always default to just using WordPress instead of building a Rails app for it. I just feel that it8217s a much simpler solution. Dead Simple to Deploy Deploying PHP is dead simple. At its simplest, you just FTP the files to a web server (which we at Ballistiq never do 8211 we deploy using Git). Thing is, with PHP you don8217t have to know about or care necessarily about the web stack. Many hosting services just use a LAMP environment (Linux, Apache, MySQL, PHP), so as long as your files are in place they just run and that8217s that. Even using a framework like CodeIgniter is relatively simple as you don8217t ever need to use the command line 8212 you just copy the entire framework directory onto the server and run. أن 8217s ذلك. PHP 8211 The Bad Its Evolution Led to a Lot of Bad Code This is not a direct feature flaw of PHP, but is the result of years and years of building on top of a simple scripting language that was specific to solving simple web problems. PHP was not always Object Oriented. Even when it did support OOP, for years it was not really OOP (missing important features like static methods), so programmers got around the problems through all kinds of shenanigans like using global variables or setting a local variable using a global reference pointer. مثلا Typical pre-PHP5 code These are just a couple of examples, but there are more which I won8217t go into here. It8217s unfortunate but is just one of the side effects of working with a language that has evolved rapidly. One thing that drives us crazy at Ballistiq is going into projects where we have to upgrade or maintain applications written with old PHP. This is the case with one of our largest projects where we8217re trying to upgrade a large app written in PHP4 code and it is horrific. A lot of sloppy code there that we have to work with. Better Coding Standards Lead To Really Purist Code As mentioned above, sloppy code is not an inherent feature flaw of PHP. It8217s just how people have used the language. As PHP has gotten more popular, it8217s gotten a lot of influence from enterprise developers who take a really purist approach to programming. When you go to conferences and listen to these PHP experts talking about best practices, PHP no longer becomes fun to program. You8217re almost looking at a Java program. Classes explicitly declare namespaces, importing namespaces, explicit getter and setter methods, explicit declaration of publicprivate methods, etc. The code becomes extremely verbose. Now If you want to see a framework that takes a more purist approach to things, check out Symfony. It8217s a great PHP framework that8217s ready for enterprise level usage but from a development point of view, I find it tedious. Ruby on Rails 8211 The Good Mature Framework The more I develop on Rails, the more I really appreciate and love it. I8217ve found that it enables us to create higher quality products for clients much faster, that are more maintainable. It8217s a mature and stable framework that many large companies are comfortable with introducing into their environments. Compare this with the PHP ecosystem that has many frameworks 8212 there8217s a risk of selecting a framework and finding that it8217s just not that well supported several years from now (we made this mistake). Speed and Development Joy I absolutely love working with Rails because as a development platform, it is extremely automated. So many menial tasks have been automated so that you just focus entirely on solving the business problem instead of hacking your way around a framework. Some things really going for Rails in this regard are: GeneratorsScaffolding 8211 Provide a very good starting point for developing around. Some PHP frameworks now provide scaffolding features. GemsPlugins 8211 the Rails community provides a wealth of plugins as Ruby Gems that you simply add to your project Gemfile and install. This significantly accelerates development and maintenance time as you8217re not trying to integrate disparate libraries, it8217s already done for you. Active Record ORM 8211 Of all the ORM8217s I have used (for PHP I8217ve used DataMapper DMZ, FuelKohana, Doctrine), ActiveRecord in Ruby on Rails is simply the best. It actually works and is remarkably straightforward to use. Integrated testing tools 8211 I love it that out of the gate, Rails has a testing framework that can be used. In PHP, many frameworks have only recently been trying to integrate PHPUnit, to varying degrees of success. As a programming language, Ruby is really quite an amazing language. Unlike PHP, it really is Object Oriented from the ground up. Its code is very concise and powerful. Gems (extensions) enable you to bolt on needed functionality. After coding in Ruby, I find coding in PHP (or anything else really) rather tedious. Ruby on Rails 8211 The Bad Steep Learning Curve My main beef with Ruby on Rails is that it actually has a steep learning curve. Do not believe the hype that says that it is really easy. They will show you podcasts where you build a simple blog application using scaffolding and voila Instant website. Nothing could be further from the truth. Rails is seen to be easy because they have automated many things in the framework 8212 this does not make it easy to understand. Developing a Rails app and deploying it actually requires you to know the full stack. With PHP, you can just cobble together some inline PHP code, FTP it to a server and off you go. In Rails, you really need to know what you are doing from the web server (Apache or NginX), setting up Phusion Passenger and database engine. Then you have to deal with the asset pipeline process to prepare your app to run in Production mode. It8217s not as simple as running it in production mode 8212 you have to precompile your assets and make sure files are actually there. If they are not, Rails will simply blow up and you have to find out why by accessing the Rails logs. Compared to PHP, Rails is also unfriendly when it comes to errors. With PHP, it will spit out errors at you in development and the error messages actually make sense. Typically a page will render but the part with the error will show you which line the error occurred and the message is useful. In Rails, typically the whole app blows up. One last thing to throw in is that good Ruby on Rails developers tend to be polyglots. They are able to pick up and learn many languages. While beginners are battling to just learn Ruby, Rails people are using CoffeeScript instead of Javascript, SCSS (or LESS), and Slim or HAML. For a newcomer to Rails, part of the steep curve is not just learning Ruby and the Rails framework, but all these other languages as well Ruby is not an easy language I8217m sorry to offend some people here, but Ruby is simply not as straightforward as PHP to learn. It is by all intents an extremely powerful language. I choose to use Ruby simply because as a developer I feel it is a much better language than PHP. But from a learning perspective, it is not. Ruby has many features that are simply not straightforward for a beginner programmer to understand. One such concept are blocks, procs and lambdas, which Rails uses heavily. The classic Ruby on Rails example I will use is for creating a form: If you8217re new to Ruby, you can be forgiven for saying, 8220Wait a minute8230.what8217s f8221 Yes sir. Welcome to blocks. Here8217s a bit of an extreme example : Even as an experienced programmer, I went crosseyed when seeing the above line of code. It8217s very simple actually 8211 generate an 8 character random string. Another area is meta programming. Here8217s an example: I8217ve taught Ruby on Rails to experienced developers and this always trips them up. What exactly is hasone. hasmany and hasandbelongstomany. It looks like it8217s some kind of reserved keyword or declaration as these are not encapsulated in a method. However, in Ruby, ALL code is executed. Every line of code is executed, so hasone. hasmany and hasandbelongstomany are just methods that execute when the class is declared. Finally another thing that makes Ruby challenging for beginners is its loose syntax. Let8217s look again at the above code. It8217s not obvious (to a beginner) that hasone :address is invoking a method because the brackets are missing from the method invocation. In PHP, the syntax is stricter and this makes it simpler for beginners to know what8217s what. As a language, especially if you8217re coming in from others such as CJavaPHP, Ruby is challenging and it will bend your mind. Once you8217re up and running though, it8217s fantastic and many who have taken the leap really enjoy coding with it. Conclusion So from all of that, what do I conclude PHP is a friendlier entry point into web development than RubyRails. It8217s easier, there are more resources available and you can get results fast. Despite this, I personally enjoy working with Ruby and Rails more than PHP. For many of the reasons I8217ve described in this article, I just feel that the Ruby ecosystem offers a superior toolset for developing applications. I respect that the die-hard PHP fans won8217t feel the same way 8211 that8217s cool. My opinion has formed from working with both languages and ecosystems thoroughly in production. Since moving to Rails, I8217ve never really felt much of an urge to move back to developing with PHP and so all my new projects tend to be RubyRails. At Ballistiq. we develop in both. If a client project already has existing PHP code and we8217re developing for that, needing to integrated at the software level, we stay in PHP. If a client needs a brand new application, or we are building our own app use Rails. Addendum 8211 30 May 2014 Wow it8217s been a while since I wrote this and it continues to be a very highly ranked article on Google, which attracts a lot of traffic. Because technology advances at such a breakneck pace, I wanted to update this article with some new thoughts. PHP has come a long way since I wrote this article When I wrote this article, PHP was in a bit of a transitory phase as many folks were still using PHP 4 and trying to migrate to 5. Symfony 2 had not yet been released, and Laravel just was not a big thing. As of right now, PHP is having a bit of a renaissance. Here are some great technologies that really make PHP shine: Laravel 8211 As a framework, Laravel looks really excellent and many PHP folks have chosen it as their framework of choice. I can8217t speak for it because I haven8217t used it in production. But it does look good. Composer 8211 Composer is to PHP what RubyGems Bundler is to Ruby. It does package management that doesn8217t suck. For years the PHP community had to deal with Pear, which really didn8217t gain much traction. PHP web server 8211 For the longest time, developing with PHP on your computer meant that you had to rely on an external web server like Apache. Many devs ended up installing MAMP. As of PHP 5.4, PHP now comes with its own command line web server, and it8217s actually remarkably easy to fire up. Now, not everything works with the command line web server (I had trouble getting WordPress to boot up with it), but if you8217re developing with a framework that supports this, it8217s a much nicer and saner way of developing. Codeception 8211 One of our team members at Ballistiq gave a really nice talk about a testing framework called Codeception, and I have to say it actually looks decent, supporting things like Selenium and BDD style tests. HHVM 8211 Opensource project led by Facebook, this takes PHP and compiles it to bytecode that in turn gets translated into x64 machine code and runs really fast. This is a very interesting project that makes PHP highly performant and scalable. So PHP isn8217t going away anytime soon. Many people use it and put it to good use. However, I (and many web engineers) have moved on. As engineers, we8217ll hack in anything that we need to get the job done, however, by choice, I won8217t start a new project in PHP. Why I feel that there are more interesting solutions out there that are worth looking at. Why I still love Rails as a framework and Ruby as a language As I mentioned back in 2012, I really enjoyed working with Ruby and Rails. Despite it8217s steep learning curve, after a while I hit a groove and now the applications that we are delivering are so good that I can8217t imagine going back. Here8217s some of the things going for RubyRails that I feel really make it such a strong choice: Gems 8211 When I started coding in Ruby, Gems confused me more than they helped because there was too much 8216magic8217. Once I learned that you could (and should) just read the source code for gems, everything made so much more sense. Due to the pluggable nature of gems and the community8217s standards, gems can give your application a tremendous amount of functionality very quickly. Some gems that I cannot live without: Devise (authentication 8211 handles user logins, social sign on, forget password workflows and so much more), Paperclip (file uploads 8211 even handles uploading to S3, image croppingresampling), Simple Form makes forms incredibly simple to standardize and render on websites. Mountable Engines 8211 We did a mammoth project for a Fortune 500 company where after building the initial application, it was so successful that other departments wanted the same application, but with slightly different functionality and different UI. Rather than copypasting the application and having to support several codebases, we were able to extract most of the core functionality into a Rails mountable engine, and literally have one codebase but several websites. The client was absolutely thrilled with this and it was a huge win for us. Scaling 8211 Rails has a stigma of being unable to scale and they are referring to Twitter dumping Rails. We have not found any scaling issues with Rails and we have applications that run with millions of pageviews and hundreds of thousands of users each month. The fact is, majority of you will never have the scaling problems that Twitter had. And8230in fact, we found it easier to scale with Rails than with PHP. How First of all, Rails supports caching out of the box. You8217re able to do view fragment caching within your application code and use Redis as a cache store. That is a far simpler solution than trying to use Varnish which caches everything that goes through it and leaving logged-in users without caching. Using built-in Rails caching enabled us to scale easily. Secondly, Rails Capistrano Chef makes it very simple to scale to multiple server environments very quickly. Our typical Amazon AWS infrastructure includes Elastic Load Balancer, several application server instances a redissearch server, backed by an RDS database instance. We set up server provisioning with Chef, enabling us to provision a new ready-to-run instance in minutes. Simultaneous deployment complete with data migrations can be done with Capistrano from the command line. Literally, I type in cap production deploy:migrations and everything is magically deployed to all our application servers. Users don8217t see any downtime as we have Phusion Passenger Enterprise and rolling restarts. Background jobs 8211 PHP was designed as a hypertext pre-processor which means that it executes only when there is a web request. Compared with Ruby which runs a process. In Rails, you can easily set up background jobs using Sidekiq or Resque. This also adds to Rails8217 ability to scale easily. In our applications, we move a lot of stuff that can slow down requests like emailing users into background jobs. Now, PHP can do background jobs using Gearman but that8217s not standardized 8211 you have to install the PECL extension. In RubyRails, background jobs are a non-issue. You just do it. Rails is BORING 8211 Rails is now at version 4.x. It8217s a mature framework. It8217s boring now. The cool kids are touting NodeJS these days. Rails is boring because it8217s robust and stable. We8217ve developed apps in Rails now for some of the world8217s largest companies and people in their IT departments don8217t bat an eyelid. It8217s known that it8217s a good choice to build your (robust, enterprise-ready, scalable, performant) application on. Other technologies that I think are shaping the web AngularJS 8211 We introduced AngularJS into our client projects earlier this year for two Fortune 500 companies and it was a huge win. AngularJS enables you to build single-page applications that run in Javascript. Most of your front-end logic goes into AngularJS, and your backend simply because an API that serves JSON. Doing this, we were able to build highly performant applications. The user experience is very good with this approach because pages load extremely quickly as the browser does not have to do a full roundtrip request. NodeJS 8211 I started developing in NodeJS a few months ago and it blew my mind. What NodeJS is very good for is building networked applications. مثلا if you8217re building a real-time chat application, you can use NodeJS for that. Due to the maturity of Rails, I don8217t think we8217re moving off that anytime soon for building large applications, but to add real-time components, I would use NodeJS SocketIO . So what should you do Web development is becoming incredibly complex. The days of a single developer being able to ship a full application from start to finish are becoming more difficult. Even front-end can no longer be handled by a single hybrid designerdeveloper who can hack CSS HTML markup. If you are just starting out, I still recommend that you start with PHP. You will get results much faster, and this will fuel your growth and knowledge. Jumping into RubyRails as your first language might leave you really frustrated trying to get results 8211 remember, with Rails, you have to know the full stack so it8217s not just the language and framework you8217re challenged with. Once you8217re comfortable with building bespoke applications in PHP, you can then whet your appetite and start using other technologies like RubyRails and even NodeJSExpress, and you8217ll appreciate what these technologies offer. Many of the concepts you will learn from PHP in frameworks like Symfony amp Laravel will carry over to other languages and frameworks. Another reason why I recommend PHP as a great starting point is that it8217s very useful to know so that you can hack on things like WordPress themes and plugins. WordPress is so widely used today in business (especially marketing departments) and it8217s great to have software polyglots who can work with many different tools and platforms. The thing that you have to realize is that the Web is not about what language you choose to develop with 8212 it8217s about the standards and what it takes to get information in and out of the web browser. It doesn8217t matter what is on the server, as long as it spits out HTML and the right JSON data 8211 you can use C for all anyone cares. That8217s why there are so many web technologies from PHP to Ruby to Python to to Java and gosh Perl is still used (I met a guy that wrote a Shopify App entirely in Perl). لذلك هناك تذهب. Keep on hacking You can do anything in PHP that you can in Rails and visa versa. That8217s enough for me to stick with PHP. As far as Rails being faster to deploy, I really doubt it. There is not much time that can be saved in PHP vs. another language with the existing frameworks I already use (unless of course, we build AI to start programming code). مقال جميل. I totally agree because I8217ve had the same experience coming from a PHP background over to RoR. I8217m just glad I8217m not the only one that thinks learning Rails is difficult. I8217m still trying to get my head around Coffeescript. I would like to offer some advice to readers, a really good way to learn Ruby and Rails is by doing the FREE SaaS course from Edx (edx. orgcourseuc-berkeleycs-169-1xsoftware-service993 ). Not only will you be learning solid Ruby on Rails, but you will learn good engineering aspects and end up with a certificate from Berkeley University as well Other than that, I can recommend the Ruby on Rails Tutorial 2ed by Michael Hartl. and Head First Rails (O8217 Reilly). Remember, the more you give RoR a chance, the more you8217ll love it. كتابة كبيرة تصل. Im more of a javascript guy who occasionally uses php for the server side. Since node came, started to use javasript on the server side too. A lot of the cool tools that I use like Jekyll, Sass and compass are written in Ruby, so I always got tempted to learn ruby. I have observed a lot of my colleagues moving to Ruby or Python because they feel that being a php programmer just doesn8217t get the same respect. Great, balanced article Leo, thank you for not hyping one or the other and remaining objective about your experience. Deployment complexity of RoR concerns me, while I like the other aspects. مقال جميل. Im both PHP and Ruby on Rails programmer. I choose Rails because unlike PHP there8217s too many to study depending on your needs. A lot of framework and cms. While Ruby, rails is all you need. you can do scale apps. Really helpful article, Leo. I8217ve been dipping my toes into web development for the last six months and have been working mainly with PHP, however Ruby on Rails is next on my list of languages. As an experienced web developer, would you suggest I continue with PHP and move on to Rails after I get some experience Or jump right into Rails Hi Michael. I think it is valuable to know both. Definitely in the current climate a knowledge of Rails will get you a job very quickly as there is more demand and less competition. If you are completely new to web development, I think PHP is a better starting point because you will get results faster, which will spur you on to continue in web development. I can8217t stress enough how small successes build on each other. You can build a good, custom MVC application quickly using something like CakePHP or CodeIgniter. When you do move to Rails, I8217d advise not to learn Rails first. Learn Ruby first and try using a framework like Sinatra to start with. My reasoning is that Rails has too much 8220automagic8221 which makes it very difficult to understand what is happening under the hood. If you don8217t understand what Rails is doing under the hood, and you don8217t know how to look in Rails source code and figure it out, debugging your applications can be very long and frustrating, especially for a beginner. Thanks for the helpful response Leo I definitely agree that learning the Ruby is super important before jumping into Rails. There8217s definitely a lot to learn for me still but I8217m super excited and motivated by each little success. Cheers Couldn8217t agree more. As a newer Ruby and RoR dev, it was instrumental that I learned Ruby first. While RoR is Ruby at its core, it handles a lot of the rudimentary tasks for you8230 hence, Rails 8220Magic8221. If you don8217t have a decent grasp on how to use Ruby without a web framework, what8217s going on under the hood will absolutely frustrate you, especially when it comes to debugging or even understanding what the right toolmethod is for the job. Great article, Leo I, like most others, appreciate the fair and balanced representation of both languages and their respective frameworks. or chars (8216a8217..8217z8217).toa Array. new(8).join First language I ever learned was Turbo Pascal. Then Java. First web programming language I learned was PHP. Very informative. I8217m new to programming and am looking at both PHP and Ruby as server-side languages (I8217ll decide which one to go with once I8217m in to it a bit more). I agree that PHP is easier to pick up 8216off the bat8217 but it is very hard to find good quality tutorials or guidance out there. It8217s ridiculous really seeing as it8217s been around for so long. On the other hand Ruby does have a steep learning curve (though learning PHP in tandem seems to have helped me understand it) but the resources for learning that are out there are both easier to find and a whole heap better. Code school, for example (check it out if you8217re new to development) is a fantastic resource8230 but doesn8217t even touch PHP. I see Ruby as the SS language of the future. I am working on Ruby on rails. Using Ruby on rails to build rock solid code thus quality websites that will be easy to maintain afterwards. Ruby on Rails is also well known for its coding convention, Agile practices and security strength. But it is valuable to know both Nice article. I8217ve been getting into web dev with Rails over the past few months and it8217s nice to see that I8217m not alone in my belief that it simply isn8217t very intuitive. The comparison is indeed like apples and oranges, but it is useful when considering which area to focus on studying. I8217m currently picking up industry experience with Rails, but am hesitant to commit to going the full mile in that area because the curve is so steep, and I don8217t know if I want to be a Rails dev. Good article. I feel exactly the same way. After gt10 years php and Java I learned to like ruby. And the peace of mind that rails gives me in a stressful project. Blindly knowing where to put new code even after 12 hours of coding at 4 in the morning. But I really hate the complexity you mentioned concerning the infrastructure setup. Some people enjoy that 8211 I don8217t. Live is too short for such stupid tasks. I always wonder why can8217t the RubyRails folks manage to create a setup routine that8217s as as easy as php Why do I have to fight with Ruby version gem version mac OSX version inconsistencies for 2 days before rails server will run the first time Grmpffff8230. Actually, you don8217t have to 8220fight with8221 versions. 8211 Ruby versions: Generally managed by rbenvrvm et al. (rbenv is officially recommended by Rails 8211 rubyonrails. orgdownload ). If your native Ruby satisfies the Ruby version required by the project at hand (e. g. 1.9.3 for Rails 4, 1.8.7 for Rails 3.2) then you are good and you don8217t need those tools. But if you are doing client work, or even experiments (e. g. your main project is Rails 3, you are experimenting onplanning on switching to Rails 4) you8217ll need multiple Ruby versions running simultaneously in the same machine. You can use Vagrant et al. but that can8217t beat having it in your base OS. Rbenvrvmetc makes this possible only with a few lines of commands. You can say that one can just use the latest possible Ruby, but it doesn8217t always work like that (compatibility problems etc). Now try that with PHP. There are PHP version switching tools but they were nowhere near maturefull-fledgedeasy-to-use as rbenvrvm last time I checked. 8211 Gem versions: Seriously Show me a single languageframework with a packagedependency manager that doesn8217t involve version numbers (e. g. PHP8217s composer, Python8217s PIP, Closure8217s Leiningen, Java8217s Maven) Ever heard of DLL Hell 8211 Mac OSX: I8217m an Ubuntu user but I8217d be surprised if you can8217t get anything related to RubyRails working in MacOSX, seeing that most Rails developers are using Macs. 8211 You need to to install rbnevrvm on a machine only once. After that, you can install any version of Rubies and Gems in a matter of minutes. And with Heroku, you can see your thing in interwebs in seconds. And you have proven deployment tools like Capistrano which works for any empty Linux box. Yeah, PHP shared hosting is really ubiquitous (in most of which you still can8217t reliablysecurely run modern PHP frameworks), but here the scopes are really different. 8230from a long time PHP user who is busy switching to Laravel 4 and Rails 4 at the same time in production projects for the last 1-2 months. I8217m just finishing up a big L4 project and about to get started with ROR myself. hi leonard I am from India this article is very useful I want some suggestions on building a big eCommerce website. I have a good experience of making website in asp, asp Ajax and sql server 2008. Now I am thinking about moving from Microsoft (because of cost). Please help me choose between php(plain),php with mvc framework, django (not rails because of steep learning curve and updating the website after the host has updated the version).I have no experience on any of the above three. and I will develop alone and I want to cost to be on lower side. Any help would be useful Thanks for this article. As a programmer who8217s been out of the loop for a while (no pun), I had suddenly been preached to about RoR by kids who had never been across other languages. as if RoR was the be all and end all. Your article clarifies all the pros and cons very objectively. مقدر جدا. As a would-be programmer starting out and slightly overwhelmed with all the languages and pressure with choosing one: really interesting article. Thanks Thanks for this Article. I8217m using PHP (Laravel framework) for development and Codeception for automate testing. Should I try RoR I8217ve heard that RoR have testing amp deployment tool which help us saving time a lot. Do you have any recommends for me. Thank you in advance We can not compare a programming language with a framework for a programming language. If you don8217t get this then you must start to learn again. A very well considered, helpful and well written article. Thank you Leo. Just read your article. I started my developing 8216career8217 in ASP webforms, which was quite easy and then switch to MVC with scaffolding, razor, nuget, entity framework, jquery, etc. It seems to me that Microsoft8217s stack is well-build and although I found it hard to learn MVC, it all fits together. Maybe they have 8216stolen8217 all good ideas from other frameworks and languages but they combined them very well and build a great IDE. So why does no one use it these days I read a lot of articles about what framework and language is the best, but they never compare it to ASP. Is it 8216just8217 because it8217s Microsoft The best article i8217ve ever read about ruby n php. Thanks for this Meanwhile, in Morocco: Hi. I loved your blog and it helped me a lot. Thank you so much I wanted to ask you one thing My first Rails app is a mobile app that will start with almost 1 million users (from another app my company is buying) and also a web application, like Facebook that you use in the browser and on your iPhone. I don8217t know how many nodes I can start with and I can8217t find a lot of information online. We have one server (16 GB RAM) I am using to test load balancer, database replication I can create as many VPS in the server as it fits in this server. I don8217t know if 16 GB will be enough for 1 million users but I created 6 nodes for staging (and learn): 8211 one with Nginx for load balancing (512MB) 8211 two with Unicorn for the Rails application (1GB each) 8211 two for MySQL (one master, one slave, but I still have to learn how to make Rails read from slave and write in the master, 2GB each) 8211 one for files (512MB shared via NFS with the load balancers and apps, where paperclip will write). The database will have a lot of writes. What architecture configuration you recommend Am I too wrong I used small RAM because I will use more for production but I don8217t know if 6 nodes is enough or if 16 GB will be enough. Can you help me Thank you 1 million users who are logged in, or 1 million users per month who are mostly just browsing the site Also, is the Rails application going to just be for an API or will it actually deliver the pages It also depends on the memory footprint of your application, if it is large or not. 1. 16GB is not likely enough for 1 million users if it is a reasonably sized application, and for that number of users I wouldn8217t put everything on a single server anyway. I8217d load balance across 2x 16GB (or 32GB) servers, quad cores minimum and scale from there. Remember, Ruby applications tend to bloat with lots of gems that you load in. The typical way to scale is to get as much memory as possible and run as many concurrent processes as you can in memory. 2. I would not use Unicorn. It is flaky and consumes a lot of memory. For that kind of scale, I would use Passenger Enterprise. If you want to be cheap and not pay for the Passenger license (which is worth it), you can use Puma. 4. Cache, cache, cache. Have one server just for Redis and cache the hell out of your application: guides. rubyonrails. orgcachingwithrails. html 5. Move slow processes into Sidekiq for background processing. شكرا جزيلا. It is 1 million users registered but usually 20,000 to 300,000 concurrent connections. And it8217s HTML and JSON, depends of the extension. We want to grow, of course, so need to be ready to more. I thought Unicorn was the best. I was using memcached but I will try Redis. Thank you very much again. It was hard to find something online explaining how much memory and how many servers in the load balancer and things like this. Just think about this: if Facebook was done in PHP, which is probably the most robust and used web application in the planet, you don8217t need to be a very smart person to realize php is far from being a bad programming language. in fact, PHP in the next 5 years will become the definitive best web programming language on top of every other one by far. Why Because its syntax is more human readable. The only reason why RoR is so trendy, is because it did very cool stuff a few years ago not available in php. But php is getting better day by day, frameworks like laravest are getting tremendous attention, and even bringing back old php users who are dropping RoR and coming back like prodigal sons. Yes, RoR deserves the credit of pioneering MVC and many other things, but it lacks the beauty and simplicity of C syntax, which will reign forever and ever. There8217s a lot of hype regarding RoR, most people try RoR just because they want to feel trendy and cool, one of the reasons most hipsters use it. Don8217t be a victim of the phenomenon. PHP is not a trendy thing, PHP, without all the noise and propaganda, still dominates the web. Juan David Pasts Rivera Another alternative is Meteor, which is great, is a framework on top of node js, is the one I like the most from all that I have tried: derbyjs, deployd, sails, express, from what I remember. Even when it8217s not comparable with Angular, Meteor supersedes it since you have 2 way data binding and backend logic at the same time and written in JavaScript, also you don8217t have to learn ng attributes. PHP has Facebook as a great representative, but its syntax is not as simple as you can get with Meteor and preprocessing packages. Anyway, scaling is always another whole story, it8217s a huge work which can be done in all languagesframeworks, I am not sure in which of them is easier though. If that8217s so then why does nobody choose to write apps in COBOL or BASIC anymore Why would you choose CoffeeScript over Javascript Why has Apple created Swift when people can just as well use Objective-C Why does it take a non-speaker on average twice as long to learn Russian compared to Italian To say it8217s all about preferences and claim that somehow all languages are equal is pretty naive. I like Php spent a lot of time learning it built most projects in Php and will continue doing so. The only reason I8217m learning ROR now is because I get tons of job offers some remote. I look at it this way freelance jobs I8217m using Php. Contract long term company jobs ROR I guess. I8217m currently in between angularjs now because at my company we wanted to try this out with Ruby as the backend. So imagine the steep learning curve I8217m going through for both of these languages Ruby and AngularJS at the same time.

No comments:

Post a Comment