Delomos's Posts
Nairaland Forum › Delomos's Profile › Delomos's Posts
1 2 3 4 5 6 7 8 9 10 11 12 (of 12 pages)
Fayimora:What is the stack being run? By the way, when I say I'm having issues, I was to deploy rails using standard stack, in my case, i'm on LAMP (with Passenger), as a side note, see: http://bitnami.org/ As another side-note, what is that site (http://www.damainboss.com) going to be? |
Beaf:I'm actually a farmer, great job figuring that out and I weed out thorns like you -- no room for ignoramuses anywhere near my field, or my language of choice in fact. There are a few influential language in the web today, Javascript, PHP, Python, and Ruby (if you're no. Clearly, a language that doesn't have a spec is cut and nail, OK. Apart from that being a demented logic, just like you are -- Applauds. You produced RubySpec (which is not a standards yet, it's only a draft but I'd grant you that), [size=14pt]produce a link like you did Ruby, for Javascript (No! I will not look-up ECMA-262, it's not spec'ing JS explicitly) and Python![/size]. |
csharpjava:So, @OP, print this and read it out loud -- and please don't followup with ", in what language?" The problem domain will dictate the language (a lot of the time, it'll depend on the comfort level of the "technical" person). Though one person can carry out all this in a small start-up-ish, it's traditional these days to have a "technical" person and an "analyst" person (I have a place in my heart for this side of the world). One is gathering requirements and understanding the domains as stated above (or sometime pitching to investors) [analyst], and the other guy is banging UMLs, using Balsamiq and drinking a lot of "coffee" [technical]. |
Interesting name calling, now learn:: Beaf:No please don't, continuing digging your hole (I will especially like see the spec for Python and JavaScript) not that it matters to me -- Ruby is not official spec'ed yet (as defined by ISO!) and most especially and there are strong sides of the argument why they should care less about getting that "blessing," follow the argument here: www.rubyinside.com/ruby-iso-spec-draft-2900.html But I digress. And another thing you want to understand is the politics of spec bodies, go research the chairs of those your spec bodies. And why doesn't PHP have a spec, see this interesting stackOverflow thread: http://stackoverflow.com/questions/4680119/php-language-specification |
Beaf:None. Happy? Now what's your point? Now show me that of your favorite web programming language. |
EzekielMab:This might help: http://net.tutsplus.com/tutorials/php/the-best-way-to-learn-php/ |
I won't really argue on this one, I'd let you hear from the horse's mouth, this is a video of Mike Schroepfer (FB's VP of Engineering at MIT's EmTECH): https://www.technologyreview.com/emtech/videos/10/ And to understand the role PHP play's for FB, I'd let FB's lead engineer (Haiping Zhao), do the talking: http://terrychay.com/article/hiphop-for-faster-php.shtml Hope that answers your questions. |
Beaf:SMH , "Empty barrels and loud noises" |
This might make you even happier: http://www.php.net/ChangeLog-4.php http://www.php.net/ChangeLog-5.php http:///AfA3ul |
Very ludicrous indeed, generally is is said that one shouldn't wrestle with a pig because getting dirty is fun for the pig (which explains your rather interesting avatar) but I won't mind giving you the benefit of enjoyment here. Let me outline the questions you've raise in the course of this discuss and expose your ignorance for what it is: 1. Is PHP hacked or cut and nail? No. And I've started my reasons in previous comments, read that. You clearly know your arguments hold no water hence you're beating that dead horse of yours. 2. Have you ever heard about software design? Yes, very much. The topic in question here is programming language design, can you tell the difference? 3. PHP does not follow software design principles, See my response to question 2. 4. Even worse, you pointed at PHP Build. Sir, what is so great about compiling source code? PHing Is Not GNU make. And any serious developer is familiar with Apache Ant, can you see what I'm referring to? Most likely not, but then there's a website called google.com. 5. Tell me why the PHP mailer is so phucked if there is no design flaw. I can't tell, I didn't write PHPMailer, that will be a question for Jim Jagielski, the current maintainer of the project. Why does PHPmailer being f__ked have anything to do with PHP, it's not part of PHP's core, or the language -- PHP has it's own mail(); PHPmailer is a software written with PHP to extend it's native function -- will you say because Wordpress is f!!ked it has anything to do with PHP as a language? 6. PHP is merely used as a templating engine (for facebook), Ok, I think I already answered this below. PHP, Phyton, Ruby, in fact most dynamic language are great for templating, in facebook's case saying *merely* is a gross understatement. 7. Actionscript is as phucked as PHP, Urg. I trapped you into my trick question. If you believe Javascript is spec'ed under ECMA (which it's not, directly), you need to believe that Actionscript is too because, Javscript, JScript and Actionscript are all forms on ECMAScript which is spec by Ecma Int. Sorry, I know you can't help your ignorance and arrogance. 8. How do you ask someone who claims to know even the abc of programming to provide evidence that PHP follows a formal design process, and they reply by pointing out open source projects like Symfony, Zend, Zend, CakePHP? See my P.S. in the previous response. 9. Remember governor Barkin Zuwo of Kano? No. and I don't care for your phony story. 10. I don't know whether to laugh or cry, Cry, but why , Even your highly C++ has it's design problem, you can read the quote by B. Stroustrup (the language designer), "The Problem with C++": http://www.codinghorror.com/blog/2007/01/the-problem-with-c.html. There is no perfect language, there never will be as long as it's human beings that are designing them. Now you can continue crying. |
webdezzi:Though @Beaf is a PHP novice as you rightly stated, I will slightly agree with him on this, Facebook actually does run on C++, and their many other services done with Erlang, Java, etc. HOWEVER, Facebook in-fact is compiling [legacy] PHP into Optimized C++ (code is written in PHP and compiled into C++) through a project they created called "HipHop for PHP" (https://github.com/facebook/hiphop-php). I think the compiling part is where @Beaf got it wrong. Most of Facebook's code base is on the LAMP stack, web servicing on a large scale like FB, scaling is very difficult with dynamically-typed language, so they've developed a few of there own technologies to overcome the shortcoming (same argument holds for Google/Python). Case in point if you're browsing FB from a computer, you'd hardly notice any reference to php but on there mobile platform you'd notice their legacy .php?, littered everywhere. |
WhyAWhy:Love that, if you have your market defined then that a very good thing -- one thing about web-business if the pattern of winner-take-all; but yes, the business model of Ebay & Amazon are super attractive. From a technical stand-point -- PHP or Ruby are very attractive option (when you grow big your engineers will likely turn to a compiled language like C++, C#, or Java but that's down, down, down the line when you get very successful). Between the two, I will strongly advocate for PHP -- the start-up cost is very, very low compared to Ruby in terms of technology AND talents. With the right engineer PHP can be very secure, not fool-proof though (none is) but at least do your best. Yes, PHP is a simple language to learn and start doing stuff with, and you might be tempted to installed Drupal, or Joomla or Wordpress or one of those, and start customizing, DON'T!!! If you're looking for Ebay/Amazon quality application, be serious develop an web application NOT a website. Generally you're looking into three sects of managing the project: A Designer (to make it look fancy), A Developer (to make it work right), a project manager (the fellow with the big picture and designing specs) and if you really want to make money, a sales/marketing. All this role can be taken by one person, or split between two, just understand those division. On a slightly more technical note, on extending functionality, you will want to create an application that others can extend, a.k.a APIs and in terms of handling payment, you might be integrating other people's APIs too (Paypal and Braintree comes to mind). If I know what role you are on the project and what your budget is, I can get more specific , all the very best though, we sure do need more 9ja start-ups! |
If you're on Mac: http://www.sequelpro.com/ On PC: http://www.heidisql.com (I have 0 experience with this) |
ONWARDBABA:You can start here: http://ruby.learncodethehardway.org/book/ there is a python version too, but you will generally choose one or the other. |
Marketing and a skilled project manager (who can help you define what you really want). I'm sure, you're not intending to compete with Ebay or Amazon. |
Beaf:^ There are varying levels of ignorance demonstrated in your statement(s), and that's ok, so let's break things done and answer your question(s). No. I cannot produce a Standardized doc from bodies like ISO, or EMCA Int. for PHP, the same way I cannot for HTML, Actionscript, F#, or heck Ruby (whose standards isn't approved yet!), sh#t Unix shell/bash , and hundreds of other languages. In fact, there are only few, few languages that have "official" spec has blessed by the gods at these places. Actually, wtf is your point with a language not having a design doc from these bodies? One BIG argument against standardization is how much it can stifle innovation and I can solidly argue, if langauges had to be officially blessed to be usable the internet will be so dead today or non-existent (considering how much Google/Facebook and co.) are spending in lobbying against "governing" the internet. And in fact, that is the problem HTML 5 is facing in getting a final spec from W3C, bigger companies (read: Microsoft) are trying to push proprietary features into standards and of course, anyone wanting to extend has to deal with licensing and what not (read: IBM vs. Microsoft). Who can argue that languages without a published docs aren't doing fine without them. I'm imaging someone is drooling over Fortran's ISO spec, yea? maybe you? Or COBOL's? Languages designer's time is better spent improving the language and writing solid documentations, but I digress. Of course in most languages there are the blessed dictators that dictate what happens to the future of the languages, there is always that Linus T., for nor it's Zend Corp. for Linux (with the two Co-founders being the demi-gods). But then, standardization is a topic for idle academics to crack over (and I know this 1st hand, at least in case of W3C) and for greedy corps and and their lawyers to droll over; working dev'ers just wuna get sh!t done. But before you tried to deviate the point of your stating that: PHP is a language that was "hacked" together I'm sure admitting your ignorance is in order. I won't name call, I'd leave that to kids like you, but when you're ready to learn PHP, the documentation is here: http://www.php.net/manual/en/ I personally prefer: http://dochub.io/#php/ Sidenote: I reference framworks in light of the quibs with mailers, using a framework abstract a lot of common patterns in the problem domain (in PHP's case, web) |
^ Beaf:Clearly, you know little about PHP. By the way, the PHP E. Lerdorf wrote is not the same as what PHP is today, so your random quotes from Lerdorf are nonsensical. And just to back up your foolishness I will give you a few links: PHP Docs/Design guidelines: http://php.net/docs.php Beautiful frameworks built on PHP (that shames Rails in performance and scalability): Symfony: http://www.symfony-project.org/doc/1_4/ Zend (the current maintainer of the PHP project): http://framework.zend.com/ Zend Community: http://www.zend.com/en/community/ CakePHP: http://cakephp.org/ And yes, for serious developers (who aren't whining on debugging a PHP Mailer, wtf?): PHP Build: http://www.phing.info/trac/ Sidenote: Are you seriously quoting Sitepoint, seriously, like seriously? |
Beaf:I might be silly but now listen and learn: PHP v1 was a hack by the original creator of the language (correctly so, from Perl); post PHP 3 (after Zend took over the language), it saw a rewrite. PHP v4 was php first attempt at [native] OOP, but still very much hack-y. And PHP 5 was a major, major step-up with native OOP support and of course still with backwards compatibility. And then, in PHP v 5.3 my personal favorite feature (in languages that support them) was added: "function callbacks/anonymous" even your dear Ruby doesn't have that! Now I can do things like function sample (String this, function(this)(){ }) { //do stuff } But those aside, don't forget importantly that PHP was designed to be a language catering to the web -- very important, PHP is designed from ground up as a web language. Now to the subject of your ignorance (which is not an offense). You are still thinking of the "original" PHP created by R. Lerdorf, then that WAS a hack, and if you're still running a version of PHP less that 5, then I'm sorry -- |
Beaf:^^^ the most ignorant comment I've read lately. BTW, Ruby is easier to learn than PHP. |
Nice coverage of nix tools, maybe if you're doing a coverage in the future edition, you can expand on the goodness of the *nix on productivity (like windows programmer who might not see the point), and also "chmod" numbering shortcut is a lot more common than the letter system. |
Might help: http://www.cchubnigeria.com/ |
@DonSegmond In addition to @ekt_bear's comment, I used to use the internet in '94 and good grief, It was a pain with those shiny marquees or heck, just CLs, I'm glad I haven't forgotten about it though --- or have you? I'm oft on #kohana on freenode, it's ironic that most non-programmer I talk to don't even know what an IRC is, |
DonSegmond:I'm starting to feel like I'm bugging but are you really serious? like seriously? If you're into any form of collaborative coding, you can't beat IRC |
Fayimora:
|
Fayimora:Thanks for the clarification, I've been wondering myself, that explains it ![]() |
Fayimora:^^^@OP: Print this out, hang it on your wall, carry it in your wallet/purse, have your babe read it to you, in bed, while she's kissing you, whatever it takes to have you answer these questions, by the time you've answered these question, the answer becomes super clear. |
DonSegmond:To have you answer the exact question asked; many might benefit from it -- just saying "look up template class" isn't an answer, point us to where to look or give a script example (that solves the problem), that way the OP (and other Googlers) know where to proceed rather than confuse the OP even more. Someone asking how the format a string in PHP isn't really one to be throwing abstract concept at. That said, can you finish answer the question (with the recommendation above) so you can actually be helpful to the OP. Or see the answers already given below. |
Fayimora:Yup. I'm partially a sysadmin and setting up/managing web server happens to be partly my job And if you get a VPS (which I don't see the need for if you're running a small site), since I deal with enterprise, it's a diff story, again , @lordZOUGA Apologies for derailing , |
clerisy:^^^^ |
DonSegmond:I'm curious to know what that ^^ means in relation to the question the OP asked? |
. Anyways, check 

"Empty barrels and loud noises"
And if you get a VPS (which I don't see the need for if you're running a small site), since I deal with enterprise, it's a diff story, again ,