Jump to content

ankur0101

Members
  • Posts

    242
  • Joined

  • Last visited

About ankur0101

  • Birthday 08/28/1989

Contact Methods

  • MSN
    ankur0101@msn.com
  • Website URL
    http://www.linkwayhosting.com
  • Yahoo
    ankur0101@yahoo.co.in

Profile Information

  • Gender
    Male
  • Location
    Mumbai, India

ankur0101's Achievements

Regular Member

Regular Member (3/5)

8

Reputation

  1. Hi, I have something like this >> 1,2,34,56,89,23 which is getting generated dynamically based on some inputs, it could also be like 34,55,67,89,34,56,88 blah blah And I want to convert it to PHP array like [0] => 1 [1] => 2 [2] => 34 [3] => 56 [4] => 89 [5] => 23 How to do that ?
  2. If you are a beginner, IMPO, one should learn Codeigniter and CakePHP. After that you can develop some projects on FuelPHP which uses composer. At the final, put your hands on Laravel 4 which is a mothership of Fuel. Now many people will say CI is dead, I said that actually clears the idea of MVC because they got the best documentation. It is very simple to use. But ellislab.com has stopped its support for CI. I heard CakePHP is pretty much similar to CI but I haven't yet used it in my projects. I am using FuelPHP and Laravel 4 on my current projects. Both of them are mostly same but L4 got big community support compared to Fuel. From community support point of view, I think CI comes with best forum support, still people out there are active. About Fuel, there is not so much noise on their forums. And talking about L4, yes there is a noise but more of that comes from people looking for solutions to problems. Most of the threads on L4 forum have not yet replied from many months.
  3. It would be better idea to use any MVC framework. It will save lot of time. You can also achieve your goal using current popular CMS like Wordpress, Joomla, PyroCMS.
  4. When ElliseLab left CI, its users started feeling as they are orphans. But its time for adoption. I used CI on more than 12 project. So after CI, which MVC is good ? I have shortlisted following frameworks : FuelPHP ========= Nicely documented. Laravel ========= Still new and makes it very difficult to run on cPanel based shared hosting. Confusing when coming through Codeigniter. Not so well documented. CakePHP ========= Nicely documented, very easy to learn after working on Codeigniter Symfony ========= Documentation is not so good. Little bit confusing. Zend ======== Takes lot of time to learn. Lots n lots of classes and libraries. Yii ======== Never used. It is said that Codeigniter is the fastest MVC framework compared to any of them. On many forums, people are saying Laravel is good but I didnt see exact points why Laravel is good. Please suggest me a framework which have very good community and forum support, good performance and pretty stable enough. Personally I am thinking about Laravel or FuelPHP Thanks
  5. Hi, Is there any way to find how many arguments are DEFINED in a function ? Means is there any way to show that there are 2 arguments defined in myFunc ? So after writing func_num_args() and comparing it with 2 is there any way to automatically detect how many attributes are defined ? Thanks
  6. Hi, I think subject tells you everything about question. Suppose I have following code > <?php class Car { public function drive($driver='', $car_model='') { echo "Wrooom !!!"; } } $car = new Car; $car->drive('Matt', 'BMW'); ?> SO what I want to do is if developer types $car->drive('Matt', 'BMW', 'randomstring') It should throw error. Means the method/function drive() should contain only 2 attributes, if 3rd attribute value is passed, it should throw error. How to do that ? Thanks
  7. Hi, I am really bad when it comes to Regex. Every time, when I need to do things with it, I get confuse. I want to find a word called hello in a variable. something like, $word = "hello"; $target = "hello_guys_howz_life"; Using preg_match, how can I check whether hello word exist in variable $target ? Thanks
  8. WHy dont you use any CMS like wordpress or joomla ? If they are not feasible according to your needs, it would be better idea to use MVC framework such as Codeigniter, Laravel etc.
  9. Hey, Even I am also using Mandrill on one of my project. Just add a domain or email address, verify it and obtain SMTP details. I think once SMTP details are received, you can carry on rest of things. Another way is to get their php sdk library and use it in your code.
  10. According to what your are writing, it doesnt seem you are a tech guy and you are completely newbie in servers and hosting industry. I think its bad idea to run XAMPP for production env. If you are setting up server env, you will be responsible for any downtimes, hardware bail outs, software updates, backups etc. Better to host with hosting company or google for php paas.
  11. Ate lot of cakes, now feeling sleepy

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.