This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » development » Documentation » A todo list to check if your application is finished !
A todo list to check if your application is finished ! [message #79445] Fri, 05 June 2009 08:46 Go to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
Hello,

I've just release a Cheat Sheet about the elements to check on your symfony application before the deployment to production.

I began to write it as an article, but finally I found that building some kind of todo list would more useful.


And Voilà, symfony-check.org is born !

Of course suggestions and corrections are very welcome, my english is (realy) far to be perfect, and I still have many things to learn about smyfony.

[Updated on: Fri, 05 June 2009 09:06]


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #79451 is a reply to message #79445 ] Fri, 05 June 2009 10:07 Go to previous messageGo to next message
eljwc  is currently offline eljwc
Messages: 130
Registered: November 2006
Location: UK
Senior Member
awesome!

Thanks loads


John Cleveley
twitter: http://twitter.com/jcleveley
Re: A todo list to check if your application is finished ! [message #79453 is a reply to message #79445 ] Fri, 05 June 2009 10:53 Go to previous messageGo to next message
drahpal  is currently offline drahpal
Messages: 40
Registered: July 2007
Location: France
Member
Nice! very useful!

Thanks


Drahpal
Re: A todo list to check if your application is finished ! [message #79456 is a reply to message #79445 ] Fri, 05 June 2009 11:56 Go to previous messageGo to next message
camason  is currently offline camason
Messages: 18
Registered: January 2008
Location: Plymouth, UK
Junior Member
"dedicated threat" =>
"dedicated thread"

Smile
Re: A todo list to check if your application is finished ! [message #79458 is a reply to message #79456 ] Fri, 05 June 2009 12:01 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
Typo corrected, thank you camason.


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #79459 is a reply to message #79445 ] Fri, 05 June 2009 12:19 Go to previous messageGo to next message
phidah  is currently offline phidah
Messages: 17
Registered: January 2009
Junior Member
How about "Make sure your _dev environment is off or secure?
I've seen soooo many symfony sites with the development environment open.
Re: A todo list to check if your application is finished ! [message #79460 is a reply to message #79459 ] Fri, 05 June 2009 12:31 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
It's written in "Custom rsync_exclude.txt"

http://symfony-check.org/en/#todo14


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #79462 is a reply to message #79445 ] Fri, 05 June 2009 13:02 Go to previous messageGo to next message
alecs  is currently offline alecs
Messages: 3
Registered: June 2009
Junior Member
Rename the session coockie
I think it should be cookie

[Updated on: Fri, 05 June 2009 13:02]

Re: A todo list to check if your application is finished ! [message #79463 is a reply to message #79462 ] Fri, 05 June 2009 13:05 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
@alecs

Typo fixed, thanks.


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #79465 is a reply to message #79445 ] Fri, 05 June 2009 13:17 Go to previous messageGo to next message
benhaines  is currently offline benhaines
Messages: 62
Registered: August 2006
Location: London
Member
Great idea and will be very useful. Many thanks!

This should be added to the Appendix in the book Wink
Re: A todo list to check if your application is finished ! [message #79467 is a reply to message #79445 ] Fri, 05 June 2009 14:26 Go to previous messageGo to next message
jugjug  is currently offline jugjug
Messages: 8
Registered: June 2007
Junior Member
Typo in section "Website Temporary Unavailable":

mySfProject/apps/frontend/config/unavailable.php
mySfProject/config/unavailable.php


instead of

mySfProject/apps/frontend/config/unavaible.php
mySfProject/config/unavaible.php
Re: A todo list to check if your application is finished ! [message #79469 is a reply to message #79467 ] Fri, 05 June 2009 14:31 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
It's fixed, thanks jugjug.


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #79477 is a reply to message #79445 ] Fri, 05 June 2009 16:57 Go to previous messageGo to next message
jamiel  is currently offline jamiel
Messages: 9
Registered: September 2008
Location: London, United Kingdom
Junior Member
Update your keywords and description in view.yml to remove all the symfony stuff.


Follow me on Twitter: http://twitter.com/jrlearmonth
Re: A todo list to check if your application is finished ! [message #79478 is a reply to message #79445 ] Fri, 05 June 2009 17:46 Go to previous messageGo to next message
benhaines  is currently offline benhaines
Messages: 62
Registered: August 2006
Location: London
Member
We are getting really picky now... but:

"symfony check is an UI Studio creation"

Should be...

"symfony check is a UI Studio creation"

http://owl.english.purdue.edu/owl/resource/591/01/
Re: A todo list to check if your application is finished ! [message #79479 is a reply to message #79445 ] Fri, 05 June 2009 18:08 Go to previous messageGo to next message
sposch  is currently offline sposch
Messages: 39
Registered: December 2007
Member
great idea

typos:

"unavaible" -> "unavailable"

"custom the language of your pages" -> "customIZE the language of your pages"

Re: A todo list to check if your application is finished ! [message #79481 is a reply to message #79479 ] Fri, 05 June 2009 18:57 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
@benhaines, @sposch : typos fixed, tanks Smile

@jamiel : I think I'm going to add a "Cutomize titles and metas" todo.


Additionnal features I'm thinking about :
- Adding tags so you can filter todos : design, performance, security
- Adding a cookie system that saves which todo you have already check and what is your favorite todo order

Won't be before next week.


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #79482 is a reply to message #79445 ] Fri, 05 June 2009 19:09 Go to previous messageGo to next message
sposch  is currently offline sposch
Messages: 39
Registered: December 2007
Member
I'll offer to translate all that into german as soon as you're done with the page.

icon14.gif  Re: A todo list to check if your application is finished ! [message #79490 is a reply to message #79445 ] Sat, 06 June 2009 01:26 Go to previous messageGo to next message
xdade  is currently offline xdade
Messages: 27
Registered: November 2008
Location: Sassari - Sardinia
Junior Member
really useful, I have learned more of something new! thanks
Re: A todo list to check if your application is finished ! [message #79495 is a reply to message #79460 ] Sat, 06 June 2009 10:57 Go to previous messageGo to next message
phidah  is currently offline phidah
Messages: 17
Registered: January 2009
Junior Member
El Riiico wrote on Fri, 05 June 2009 12:31

It's written in "Custom rsync_exclude.txt"

http://symfony-check.org/en/#todo14



That will require that you use rsync Smile
Re: A todo list to check if your application is finished ! [message #79583 is a reply to message #79479 ] Mon, 08 June 2009 14:56 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
sposch wrote on Fri, 05 June 2009 17:08

great idea

typos:

"unavaible" -> "unavailable"

"custom the language of your pages" -> "customIZE the language of your pages"



Or, to be really pedantic: 'customise' may be the preferred spelling, depending on where you're from! Wink

http://en.wikipedia.org/wiki/American_and_British_English_sp elling_differences#-ise.2C_-ize


Remember Palestine
Re: A todo list to check if your application is finished ! [message #79584 is a reply to message #79445 ] Mon, 08 June 2009 15:08 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Good work, btw. Found a few more:

catchs => catches

Usefull => Useful

an other => another

environement => environment

wich => which

APC is one of the most popular one => APC is one of the most popular ones

not enabled => disabled (you can say either, but I think this sounds better)

can't be anymore saved into cache => cannot be cached (or "can no longer be cached")

these operations will sensibly slow down your application => these operations will substantially slow down your application

(substantially means "a lot", sensibly means "reasonably, sane")


Remember Palestine
Re: A todo list to check if your application is finished ! [message #79586 is a reply to message #79584 ] Mon, 08 June 2009 15:31 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
@sposch

Thanks. When the english list will be stable enought, I plan to open the administration of the site to translators. It could take some time, because I'd like to set up a system that will alert translators when a part of the english content is modified.

@halfer

Fixed. Thank you for all your corrections.


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #79811 is a reply to message #79445 ] Sat, 13 June 2009 05:21 Go to previous messageGo to next message
asdf072  is currently offline asdf072
Messages: 35
Registered: June 2009
Member
I was going to say that it's "customize," not "customise," but I couldn't bear bringing up another misspell after you've done this for everyone. Smile

Thank you!
Re: A todo list to check if your application is finished ! [message #79813 is a reply to message #79445 ] Sat, 13 June 2009 10:51 Go to previous messageGo to next message
benhaines  is currently offline benhaines
Messages: 62
Registered: August 2006
Location: London
Member
asdf072,

That all depends on which side of the pond you live!

English - use 's'
American English - use 'z'

Wink
Re: A todo list to check if your application is finished ! [message #79822 is a reply to message #79445 ] Sat, 13 June 2009 19:09 Go to previous messageGo to next message
asdf072  is currently offline asdf072
Messages: 35
Registered: June 2009
Member
A thousand pardons. I suppose we should stick with the Queen's English, then. (Anyhow, it makes me feel international, like when I go into a shoppe instead of a shop Smile
Re: A todo list to check if your application is finished ! [message #79825 is a reply to message #79478 ] Sat, 13 June 2009 23:18 Go to previous messageGo to next message
alecs  is currently offline alecs
Messages: 3
Registered: June 2009
Junior Member
@benhaines

English is not my native english, but, from what i have learned in school, I reember that is "a car" and "an apple" ...
i think it should be "AN ui"...
Re: A todo list to check if your application is finished ! [message #79827 is a reply to message #79445 ] Sat, 13 June 2009 23:47 Go to previous messageGo to next message
joshiausdemwald  is currently offline joshiausdemwald
Messages: 14
Registered: May 2009
Location: Germany, NRW, near Cologn...
Junior Member
Regarding Point 11:
Quote:


A solution can be to use several domains :

* http://my-app.com for the frontend
* http://my-app-backend.com for the backend

Personnaly, I prefer use some sub domains for each application :

* http://my-app.com for the frontend
* http://admin.my-app.com for the backend



Perhaps you could also mention the almost more simple solution of putting the front controller (named "admin.php" or something like that) into a subfolder, e.g. ./web/Admin and rename it to "index.php"

That would also prevent the script from being part of the uri (if the corresponing flag in your configuration isset, though)
Re: A todo list to check if your application is finished ! [message #79849 is a reply to message #79445 ] Mon, 15 June 2009 00:02 Go to previous messageGo to next message
benhaines  is currently offline benhaines
Messages: 62
Registered: August 2006
Location: London
Member
@alecs

http://www.ehow.com/how_2221937_use-vs-sentence.html

See Step 4 for the exception. It is 'a' UI... trust me Smile

The english language is crazy I tell you! It plays tricks on you!
Re: A todo list to check if your application is finished ! [message #79936 is a reply to message #79825 ] Tue, 16 June 2009 13:45 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
alecs wrote on Sat, 13 June 2009 22:18

@benhaines

English is not my native english, but, from what i have learned in school, I reember that is "a car" and "an apple" ...
i think it should be "AN ui"...

Nearly. Words beginning with a vowel (a, e, i, o, u) use "an" and others use "a". However UI is an acronym, and is pronounced "yoo-eye". Hence "a" sounds more correct. I think if the phonetic pronunciation of an acronym sounds like it begins with a vowel, "an" would be preferred.


Remember Palestine
Re: A todo list to check if your application is finished ! [message #79969 is a reply to message #79445 ] Wed, 17 June 2009 02:43 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
A new version is online.

When you want to check a todo, the clickable zone is larger.

I've removed the french version.
It was a big decision, but dealing with several versions and building a clean way to let people contribute to translations was just to much work.
Giving it up has helped me to move forward. I don't think french version will come, even if it's just so painfull for me to write in english.

I've added Tags to filter todos

I've added informations about the way to test the pages that you want to customize.

I've added pictures of the error pages, with a lightbox zoom.

The website now degrades gracefully when Javascript is off.

"Customize" is now written with the american spelling, with a "Z".


The code of the site has been refactored. If someone is interrested, I could share the source...


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #79983 is a reply to message #79445 ] Wed, 17 June 2009 10:25 Go to previous messageGo to next message
benhaines  is currently offline benhaines
Messages: 62
Registered: August 2006
Location: London
Member
Thanks for the update. Great new features.

One issue is that I can't seem to see any tickbox anymore? I can still click to the left hand side of a item and it will grey out, but not tickbox like the first version.
Re: A todo list to check if your application is finished ! [message #80016 is a reply to message #79445 ] Wed, 17 June 2009 15:27 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
It was a bug. It's fixed.


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #80098 is a reply to message #79445 ] Thu, 18 June 2009 10:30 Go to previous messageGo to next message
jarod51  is currently offline jarod51
Messages: 79
Registered: May 2006
Member
Nice work

Need it in a PDF cheat sheet now to insert it in my cheat sheet book please Smile
Re: A todo list to check if your application is finished ! [message #80099 is a reply to message #80098 ] Thu, 18 June 2009 10:32 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
Hmm, why not, I'll think about it.

The next step will probably to add a little blog and a way to let people comment the todos.


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #80195 is a reply to message #79445 ] Fri, 19 June 2009 09:10 Go to previous messageGo to next message
bigm  is currently offline bigm
Messages: 40
Registered: April 2008
Location: Australia
Member
Just wanted to say fantastic site!! Thanks for the effort you've put into it!


Regards,
JM
http://www.symfonynerds.com
Re: A todo list to check if your application is finished ! [message #80274 is a reply to message #79969 ] Fri, 19 June 2009 19:16 Go to previous messageGo to next message
develop7  is currently offline develop7
Messages: 6
Registered: April 2007
Location: Belarus
Junior Member
Hi.

In Opera 9.64 it looks pretty weird — I've attached an screenshot.
index.php/fa/1168/0/

Thanks.

Re: A todo list to check if your application is finished ! [message #80283 is a reply to message #79445 ] Fri, 19 June 2009 20:11 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
@develop7 It was due to a tag that was not close, I should have run the w3c valdator.

I've got a great news:
For an important project, I have to implement Selenium. For my first try, I've decided to try it on symfony-check.

It's awesome !

I've decided to publish my selenium tests online to let people discover this amazing tool.

Here is the symfony check selenium test page.


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #80291 is a reply to message #79445 ] Fri, 19 June 2009 23:10 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
Done !

Symfony-check is released on google code.


http://symfony-check.org/images/logo.png


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #80349 is a reply to message #79445 ] Sun, 21 June 2009 15:21 Go to previous messageGo to next message
El Riiico  is currently offline El Riiico
Messages: 40
Registered: February 2007
Location: Paris
Member
I've added a new performance todo

Quote:


Optimize your routes

The symfony routing system is one of the killer features of the framework.

<p>Please have a look on <?php echo link_to('our products', 'product/index') ?>.</p>


Indicate in your template which `module/action` you want and then let `routing.yml` do all the job.

You can use the default rule:

default:
  url:   /:module/:action/*


Or add a dedicated one:

product_list:
  url:     /our-products
  param:   { module: product, action: index }


Clear your cache and all the related links and uri will be modified, all over the application.

It feels like magic, but it has a cost.

Each time the url request `product/index` is found in a template, symfony has to scan all the rules defined in `routing.yml` and guess which one can handle this request.
The default rule ? An other one ?

This search is done for all the links...

If your project have many pages and many routing rules, you can speed up your application by using rule labels instead of a module/action pairs in your templates:

<p>Please have a look on <?php echo link_to('our products', '@product_list') ?>.</p>


This solution will speed up the routing, but the disadvantage is that internal links become less self-evident.

It's up to you.



Read the related symfony documentation

[Updated on: Sun, 21 June 2009 15:21]


http://symfony-check.org
Re: A todo list to check if your application is finished ! [message #80547 is a reply to message #79445 ] Wed, 24 June 2009 14:02 Go to previous messageGo to previous message
Ases  is currently offline Ases
Messages: 1
Registered: June 2009
Location: Atzeneta
Junior Member
It sounds obvious but it's important for performance.

Check if xdebug is deactivated on production server.
Previous Topic:Tutorials for Windows
Next Topic:How to get a value of the configuration file?
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software