Skip to content

Conversation

javiereguiluz
Copy link
Member

Q A
Doc fix? yes
New docs? yes
Applies to master (2.6+)
Fixed tickets #4360

This is a total revamp of the Quick Start tutorial. Following the recent trend in the Symfony world, everything is simpler now. The main changes are:

  • The tutorial requires PHP 5.4 because this way everything is simpler. By the way, PHP 5.3 is unsupported since August 2014 and it's extremely dangerous to keep using it.
  • We use the AppBundle and the other changes that will introduce the standard edition soon. There are some pending PR.
  • Some advanced features, such as HTTP caching, have been removed. This tutorial is aimed for the total newcomer and it doesn't make sense to confuse him/her with things not needed at first.

There is one important thing missing:

  • The section about installing Symfony is pending of the new Symfony installer, specially for Windows users.

And one last comment:

  • Someone, which I cannot remember, commented a few weeks ago that maybe we should get rid of the different versions of this tutorial. I agree that the tutorial aimed for newcomers should be unique to avoid confusions and it should always explain the latest and greatest Symfony features. I've created this PR against the master branch for that reason and I ask the doc managers (@weaverryan, @wouterj and @xabbuh) to think about removing all the previous versions of this tutorial.
@wouterj
Copy link
Member

wouterj commented Oct 25, 2014

The tutorial requires PHP 5.4 because this way everything is simpler. By the way, PHP 5.3 is unsupported since August 2014 and it's extremely dangerous to keep using it.

What does require PHP 5.4?

Btw, I'll review the PR another time :)

@javiereguiluz
Copy link
Member Author

@wouterj PHP 5.4 is needed for the new Symfony Installer and for the built-in web server.

@xabbuh
Copy link
Member

xabbuh commented Oct 25, 2014

I've created this PR against the master branch for that reason and I ask the doc managers (@weaverryan, @wouterj and @xabbuh) to think about removing all the previous versions of this tutorial.

👍 (since I already if we actually need different versions of it :))

@xabbuh
Copy link
Member

xabbuh commented Oct 25, 2014

@javiereguiluz Actually, I don't think that we can technically get rid of different versions of the quick tour (given how Git works). But links can be changed on symfony.com to only link to one version, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translations too

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. There are also probably some other things, but I think 3 is enough - it gives you the right idea.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but these three are important in my opinion as they are all explained in the Best Practices book.

@wouterj
Copy link
Member

wouterj commented Oct 25, 2014

Actually, I don't think that we can technically get rid of different versions of the quick tour (given how Git works).

We can, we just have to remove the quick tour each time we create a new version branch

@xabbuh
Copy link
Member

xabbuh commented Oct 25, 2014

Hm, yes, you're right. We could keep it only in master.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implement (it refers to files, doesn't it?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the same phrase use originally in the tutorial. I think it's correct because "implements" refers to the bundle, not the files. But maybe the wording is confusing and we could change it. What do you think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine so.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add the // ... placeholder.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

starting slash is missing

@weaverryan
Copy link
Member

@javiereguiluz Thanks for taking this big step. Here's what I think we should do:

  1. Check out the comments and make updates. There are some good ones :).

  2. I'll then merge in and re-read everything from end-to-end and create a separate PR with tweaks (since the changes are big, it's better to re-read the whole thing).

Thanks!

@javiereguiluz
Copy link
Member Author

@weaverryan I've addressed almost all of the suggestions made by reviewers, so I think we're good for the first merge. Then, let's create a separate PR to fix anything else. Thanks!

@weaverryan
Copy link
Member

Hey guys! I've merged this in, but into the 2.3 branch for now. I like the idea of only having one version of this, but it seems that would require some changes to the site. If we delete this from the 2.3 branch, for example, then this would 404 on the 2.3 page, correct? Anyways, I'm happy to figure this out, but I don't want that to hold us up. If I'm missing something, let me know! Thanks!

weaverryan added a commit that referenced this pull request Nov 13, 2014
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4374). Discussion ---------- [WCM] Revamped the Quick Start tutorial | Q | A | ------------- | --- | Doc fix? | yes | New docs? | yes | Applies to | master (2.6+) | Fixed tickets | #4360 This is a total revamp of the Quick Start tutorial. Following the recent trend in the Symfony world, everything is simpler now. The main changes are: * The tutorial requires PHP 5.4 because this way everything is simpler. By the way, PHP 5.3 is unsupported since August 2014 and it's extremely dangerous to keep using it. * We use the `AppBundle` and the other changes that will introduce the standard edition soon. There are some pending PR. * Some advanced features, such as HTTP caching, have been removed. This tutorial is aimed for the total newcomer and it doesn't make sense to confuse him/her with things not needed at first. There is one important thing missing: * The section about installing Symfony is pending of the new Symfony installer, specially for Windows users. And one last comment: * Someone, which I cannot remember, commented a few weeks ago that maybe we should get rid of the different versions of this tutorial. I agree that the tutorial aimed for newcomers should be unique to avoid confusions and it should always explain the latest and greatest Symfony features. I've created this PR against the master branch for that reason and I ask the doc managers (@weaverryan, @wouterj and @xabbuh) to think about removing all the previous versions of this tutorial. Commits ------- 811f6e8 Included a bunch of fixes suggested by the awesome Symfony doc reviewers 940924c Added a bunch of fixes suggested by @xabbuh 6105acb Fixed a RST formatting issue baf4b9b Revamped the Quick Start tutorial
@weaverryan weaverryan closed this Nov 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants