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 » You guys do a great job on docs... but....
You guys do a great job on docs... but.... [message #84911] Sun, 06 September 2009 23:48 Go to next message
DigitalMechanic  is currently offline DigitalMechanic
Messages: 38
Registered: February 2008
Location: USA
Member
Going through the API's I find myself spinning my wheels because while the information about the API is there, there are no examples and almost no information about return values or states. Especially when it comes to Doctrine-specific API's.

For example: sfValidatorDoctrineChoice( ) - the API describes everything but what it does. The short blurb says "returns the column for comparison" - what column? the one I set in options or the pkey - I have yet to get this Validator to work correctly; I have tried numerous times and while the sfWidgetFormDoctrineChoice( ) and sfValidatorDoctrineChoice( ) widgets seem to do what they're supposed to in the form (shows a dropdown of choices as expected). They never validate properly and there's not a single example I can find on how to implement this widget/validator pair.

You guys do a great job on docs... and create a lot of them... The Jobeet tutorials are very COOL - but some subjects (like Symfony/Doctrine forms) are sparsely touched upon and not of much help.

Is it just me or are too few people using Doctrine to warrant more detailed docs?

Sorry to rant - but I'm very frustrated right now, and have a lot of time invested in Symfony/Doctrine.

-DM
Re: You guys do a great job on docs... but.... [message #84985 is a reply to message #84911 ] Tue, 08 September 2009 15:34 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
I don't know enough about Doctrine to comment. It might be worth dropping a line to the lead(s) of the doctrine project, and ask them to comment publicly. I think it would be of wider interest, and from what I have seen in the past they are very helpful.

I suppose the issue with docs is that it feel like time not spent on features and bugs, even though docs are nevertheless very useful!


Remember Palestine
Re: You guys do a great job on docs... but.... [message #85054 is a reply to message #84911 ] Wed, 09 September 2009 15:14 Go to previous message
DigitalMechanic  is currently offline DigitalMechanic
Messages: 38
Registered: February 2008
Location: USA
Member
Sven,

Thanks for pointing that out - I've modified my code to get the errorSchema from the form and now I'm getting error information. The form I have can't be simpler, it's a login form with two fields and the error I'm getting back from the errorSchema is: current() returns "Required" and key() returns "_csrf_token". I'm not sure how to deal with this one. I have a csrf secret set for the app, but I can't find any documentation regarding how the csrf token is supposed to be passed in the request (I'm guessing that's what it's looking for...). I wonder if this has anything to do with setting flash or if I'm just approaching the whole login thing from the wrong direction... any ideas?

-DM
Previous Topic:How can i read xls file and save it into mysql
Next Topic:SLUG for non-latin
Goto Forum:
  

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