Yii Framework Forum: The Transition To Ruby - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

The Transition To Ruby php -> ruby

#2 User is offline   nekulin 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 19-February 12

Posted 01 April 2013 - 07:58 AM

This means that Yii will no longer be in php ? and all php programmers, you can forget about Yii ?
1

#3 User is offline   JFReyes 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 485
  • Joined: 28-October 09
  • Location:Puerto Rico

Posted 01 April 2013 - 08:09 AM

It probably is an April Fool's Day joke, don't worry about it. :rolleyes:
José
0

#4 User is online   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,346
  • Joined: 17-January 09
  • Location:Russia

Posted 01 April 2013 - 08:21 AM

Sure it does mean that ;)
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#5 User is offline   schmunk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 566
  • Joined: 02-November 08
  • Location:Stuttgart, Germany

Posted 01 April 2013 - 08:26 AM

LOL, great! :D
Phundament - Yii Application Boilerplate with composer support
Fork on github

Follow phundament on Twitter

DevSystem: Mac OS X 10.7 - PHP 5.3 - Apache2 - Yii 1.1 / trunk - Firefox or Safari
0

#6 User is offline   yiqing95 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 587
  • Joined: 27-December 10
  • Location:china

Posted 01 April 2013 - 08:30 AM

:lol:
0

#7 User is offline   nekulin 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 19-February 12

Posted 01 April 2013 - 08:50 AM

:lol:
I'm joking
0

#8 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,221
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 01 April 2013 - 10:34 AM

View Postnekulin, on 01 April 2013 - 08:50 AM, said:

:lol:
I'm joking

Awwww, come on. Just admit you fell for it ;)
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#9 User is offline   PeRoChAk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 573
  • Joined: 26-November 10
  • Location:Lahore, Pakistan

Posted 01 April 2013 - 11:30 AM

It hurts.... I know that It will be that... but still it does
Cheers
Perochak
Web Design - Logo Design - Application Development

My Blog | Forums Comparison
0

#10 User is offline   Haensel 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 444
  • Joined: 14-January 11
  • Location:Vienna (Austria)

Posted 01 April 2013 - 11:45 AM

But speaking of rewriting the core and letting all the jokes aside: What I really like about Yii 2.0 is the new YiiScript compiler which "translates" existing PHP code down to Coffeescript, which itself compiles down to vanilla JS then. And because reinventing the wheel really sucks its leveraging existing JS MVC frameworks a la Backbone.js or Ember.js (Ember.js being the default). This means that Yii becomes more or less a PHP wrapper for Ember.js/Backbone.js which is really awesome.

Consider this:

<?php
class Person extends Model
{
    public $firstname;
    public $lastname;

    public function compile()
    {
        return 'ember';
    }

    public function getFullName()
    {
        return $this->firstname . '  ' . $this->lastname;
    }
}


will automatically be compiled (note the compile method in the example above) down to:

App.Person = Ember.Object.extend({
  firstName: null,
  lastName: null,

  fullName: function() {
    return this.get('firstName') +
           " " + this.get('lastName');
  }.property('firstName', 'lastName')
});


P.S.: As a dependency node.js will be required for server-side stuff of course
2

#11 User is offline   Balu 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 152
  • Joined: 09-August 11
  • Location:Kerala, India

Posted 01 April 2013 - 11:46 PM

:D
0

#12 User is offline   amiri 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 75
  • Joined: 08-January 12

Posted 02 April 2013 - 03:43 AM

The Transition To Ruby will NOT be a Lucky event for Yii. since we have chosen Yii as a PHP framework!
0

#13 User is offline   Raoul 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 636
  • Joined: 29-November 08
  • Location:Paris, France

Posted 02 April 2013 - 03:48 AM

:lol::lol::lol:
0

#14 User is offline   gbasto 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 28-September 10
  • Location:Portugal

Posted 02 April 2013 - 06:39 AM

View Postamiri, on 02 April 2013 - 03:43 AM, said:

The Transition To Ruby will NOT be a Lucky event for Yii. since we have chosen Yii as a PHP framework!



For what I've heard, you can still use PHP to code, the framework compiles it to ruby later :)

The only disadvantage I see, is that it only works on Raspeberry Pi systems :/
0

#15 User is offline   Shahcheraghean 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 478
  • Joined: 12-December 12
  • Location:Mashhad, IRAN

Posted 02 April 2013 - 06:48 AM

View Postsamdark, on 01 April 2013 - 08:21 AM, said:

Sure it does mean that ;)

means what?
no longer php?
or php and ruby together?
or it was just a joke?

I hope it was just a joke?
www.shgn.ir
www.shgn.ir/yii-framework/
yii2.swsco.ir
In a world without any fences or walls,Who needs Gates or Windows!
0

#16 User is offline   gbasto 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 28-September 10
  • Location:Portugal

Posted 02 April 2013 - 06:56 AM

View PostShahcheraghean, on 02 April 2013 - 06:48 AM, said:

means what?
no longer php?
or php and ruby together?
or it was just a joke?

I hope it was just a joke?


lol

You can read a lot more information about Yii 2 transition to Ruby here. ;)
0

#17 User is offline   Shahcheraghean 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 478
  • Joined: 12-December 12
  • Location:Mashhad, IRAN

Posted 02 April 2013 - 07:10 AM

thank you.
so it was just a joke.
but why in the official Yii news site it happened?
www.shgn.ir
www.shgn.ir/yii-framework/
yii2.swsco.ir
In a world without any fences or walls,Who needs Gates or Windows!
0

#18 User is offline   schmunk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 566
  • Joined: 02-November 08
  • Location:Stuttgart, Germany

Posted 02 April 2013 - 07:15 AM

@Shahcheraghean: Have you read this: http://en.wikipedia....l_Fools%27_Day?
Phundament - Yii Application Boilerplate with composer support
Fork on github

Follow phundament on Twitter

DevSystem: Mac OS X 10.7 - PHP 5.3 - Apache2 - Yii 1.1 / trunk - Firefox or Safari
0

#19 User is offline   Shahcheraghean 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 478
  • Joined: 12-December 12
  • Location:Mashhad, IRAN

Posted 02 April 2013 - 07:25 AM

OK. thanks a lot.
www.shgn.ir
www.shgn.ir/yii-framework/
yii2.swsco.ir
In a world without any fences or walls,Who needs Gates or Windows!
0

#20 User is offline   mirunho 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 170
  • Joined: 19-December 12
  • Location:Gdansk, Poland

Posted 02 April 2013 - 01:01 PM

very good idea :D
0

#21 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 09 April 2013 - 12:54 PM

You can safely laugh at anything posted on April 1st :)
"Less noise - more signal"
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users