Do Frameworks Fit Here?

The place to ask questions about 3DStudio Max, Blender, Pro Motion, open source items, libraries, ect..

Do Frameworks Fit Here?

Postby Sharlenwar » Wed Jul 23, 2014 10:03 am

Hey Halls, if this is in the wrong place, then moderate. :P

Frameworks! Those of us trying to create any sort of web application, whether it be a game, php/mySQL will encounter a framework or two. Who out there have used them? What have you found out about the ones you have used? Recommendations? Where would a beginner get started?

Discuss!
Deep within the Void of Quasion, a creation.

**My Corner of the Web**
Sharlenwar's Adventures
Torn-City - Massively multiplayer online text based RPG
User avatar
Sharlenwar
 
Posts: 498
Joined: Mon May 28, 2012 2:14 pm
Has thanked: 3 times
Been thanked: 3 times
Blog: View Blog (2)

Re: Do Frameworks Fit Here?

Postby hallsofvallhalla » Wed Jul 23, 2014 1:06 pm

Yep perfect place. Was wanting a place to talk about frameworks, libraries, ect..

As far as framework for PHP/SQL I have not dabbled in that in some time so am not caught up with current ones.
User avatar
hallsofvallhalla
Site Admin
 
Posts: 11901
Images: 13
Joined: Wed Apr 22, 2009 6:29 pm
Location: mobile, al
Has thanked: 11 times
Been thanked: 152 times
Blog: View Blog (3)

Re: Do Frameworks Fit Here?

Postby kaos78414 » Wed Jul 23, 2014 1:40 pm

As far as PHP frameworks, I'm familiar with Symfony, Laravel and Zend. I got started on Codeigniter and CakePHP, but honestly could no longer recommend those considering the power available in other frameworks.

Out of the three above, I'd say Laravel is the best mix of ease of use and feature set. All three can be fairly complex to get into, but the dependency injection component in each of them helps you to create independently testable classes, which can really benefit you in the long run. They also integrate with composer, allowing you to install modules for flexibility. A programmer's goal is not to write code - it's to solve problems, the solution to which usually lies in code. But most of the time somebody has already addressed your problem suitably, and package managers like composer help you to avoid writing code when you really don't need to be.

A lot of these frameworks are designed to mimic Rails or Sinatra somewhat, but they don't have quite as much "magic" as Rails.

My recommendation will go to either Laravel, whose ORM I like very much, or Symfony 2 for flexibility. As mentioned, these can have a pretty steep learning curve, but the benefits outweigh the negatives IMO.

If you wanted to get started with Laravel, it's going to be as easy as following the instructions on their site: http://laravel.com/docs/quick#installation

You should first install Composer ( https://getcomposer.org/doc/00-intro.md ... on-windows ), as you're going to need it anyway, and msysgit (if on Windows) or git if on Linux. Then install Laravel using composer, which functions a lot like NPM or gem.
w00t
User avatar
kaos78414
 
Posts: 507
Joined: Thu Jul 22, 2010 12:36 am
Location: Dallas, TX
Has thanked: 0 time
Been thanked: 2 times

Re: Do Frameworks Fit Here?

Postby vitinho444 » Wed Jul 23, 2014 3:26 pm

Scratch for the win!!
the old
Code: Select all
<?php
function DoStuff($stuff)
{
 $doingstuff ++;
return $stuff;
}

if($_GET["action"] == "doStuff")
DoStuff($_GET["stuff"]);
?>
My Company Website: http://www.oryzhon.com

Skype: vpegas1234
User avatar
vitinho444
 
Posts: 2825
Joined: Mon Mar 21, 2011 11:54 am
Location: Portugal
Has thanked: 64 times
Been thanked: 17 times

Re: Do Frameworks Fit Here?

Postby Chris » Wed Jul 23, 2014 3:54 pm

Yii for PHP.
MVC 4.5 for Microsoft.
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
Chris
 
Posts: 1573
Joined: Wed Sep 30, 2009 2:22 pm
Has thanked: 4 times
Been thanked: 5 times
Blog: View Blog (2)

Re: Do Frameworks Fit Here?

Postby Jackolantern » Thu Jul 24, 2014 1:23 am

Chris wrote:Yii for PHP.
MVC 4.5 for Microsoft.


ASP.NET MVC is at v5.2 now. 4.5 was Web Forms and .NET, but not MVC ;)

For PHP I like Yii, Laravel and FuelPHP. All 3 share a similar philosophy IMHO.

CodeIgniter can be a good place to start to feel comfortable with MVC frameworks since it is by far the easiest to pick up and learn. However, its practice of clinging on to dinosaur versions of PHP has killed the momentum CI had a few years back, and people are jumping ship from it left-to-right.

It is still a good framework to learn with, though.
The indelible lord of tl;dr
User avatar
Jackolantern
 
Posts: 10865
Joined: Wed Jul 01, 2009 6:00 pm
Location: Houston, TX
Has thanked: 22 times
Been thanked: 89 times
Blog: View Blog (1)


Return to Programs/Assets/Libs/Open Source/Ect...

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x