Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialHenri CLOCUH
31,209 PointsWhere can I find the Speaker.php file?
Hello, Does anybody know where Chris find his Speaker.php file that he's using in the video? In the CFP github repositor
6 Answers
Greg Kaleka
39,021 PointsSalut Henri,
The Speakers.php is in the classes/application folder in the github repo.
Happy coding!
-Greg
Henri CLOCUH
31,209 PointsThanks Greg for the quick answer! But my first message was trucated on the forum, it was the following :Hello, Does anybody know where Chris find his Speaker.php file that he's using in the video? In the CFP github repository I found a file called Speakers.php (plural) which is not the one Chris use in his video because it is called Speaker.php(singular) in addition, the content of these files is not identical. I checked in the github repository, the last commit and some commits near the date of the video release ( around november 2014) and I did not find the Speaker.php (singular) file. Any idea? Thanks Henri.
Greg Kaleka
39,021 PointsHm, as this is an open source project, it's very possible the name was changed, and the content of the files may have changed. The entire course is actually Chris changing the content of files in this repo! I haven't watched these videos in a while, but could it be the SpeakerProfile.php file?
I wouldn't worry too much about the specific examples, and try instead to take the approach Chris is taking and be able to apply it to your own code, or other open source repos.
Henri CLOCUH
31,209 PointsHi Greg, I definitively did not find this mysterious file!! Anyway thanks again for your answers. Henri.
Don Macarthur
28,430 PointsHi Henri,
I am having the same problem as you: - the Speakers.php file in the Git repository I downloaded has waaaaaay less code than that in the video, and it certainly doesn't have the method he is poring over.
Did you have any success with progressing with this series of videos? It seems to me to be a waste of time if what is being shown has now been completely changed in the source files.
Cheers Don
Henri CLOCUH
31,209 PointsHello Don ,
To be honest I temporarly stopped that course, but I did't give up, I will dive into it later in time. I did't find the exact same file speaker.php as in the video. The release of the video was the 30th of dec 2014, you can download the closest commits to that date at the following links:
https://github.com/opencfp/opencfp/tree/c5cea2b0754466c06efb045b3ef9929b2e38c385
https://github.com/opencfp/opencfp/tree/5a28fc8d1a69d2f3d20f0cd97b21217f898acbd3
Cheers Henri.
Don Macarthur
28,430 PointsHi Henri,
Thanks for the reply. I'm giving this course a miss for a while as well now, but will try downloading the commits from the links you posted when I come back to it.
Thanks again Don :-)