Page 45 of 134, showing 100 records out of 13,394 total, starting on record 4,401, ending on 4,500
# | Username | Text | |
---|---|---|---|
# | Jul 21st 2009, 13:48 | ProLoser|Work | it just feels like i may be going about designing my plugin wrong |
# | Jul 21st 2009, 13:48 | ProLoser|Work | doesn't that mean i have to go in and start editin gfiles in my plugin |
# | Jul 21st 2009, 13:48 | ProLoser|Work | when the plugin model needs to be related to your app model |
# | Jul 21st 2009, 13:48 | ProLoser|Work | no i mean for the other way around |
# | Jul 21st 2009, 13:47 | markstory | Controller::loadModel() cheats though. |
# | Jul 21st 2009, 13:47 | markstory | you always need the plugin name in model associations. |
# | Jul 21st 2009, 13:46 | ProLoser|Work | cuz then you have to go into the plugin and edit it |
# | Jul 21st 2009, 13:46 | ProLoser|Work | doesn't it cause issues to make relationships with models outside the plugins? |
# | Jul 21st 2009, 13:46 | markstory | just following plugin conventions. |
# | Jul 21st 2009, 13:46 | ProLoser|Work | well i'd have to edit the plugin's model relationships |
# | Jul 21st 2009, 13:46 | markstory | there are no hoops |
# | Jul 21st 2009, 13:45 | ProLoser|Work | i don't know how many hoops i'd have to jump through to like keep that relationship |
# | Jul 21st 2009, 13:44 | ProLoser|Work | would it be weird/bad to make a join table between a plugin table and a regular table? |
# | Jul 21st 2009, 13:43 | markstory | yes className does, alias does not. |
# | Jul 21st 2009, 13:43 | ProLoser|Work | so i have to go find all the places it was affected |
# | Jul 21st 2009, 13:43 | ProLoser|Work | i moved half the app into this plugin |
# | Jul 21st 2009, 13:43 | ProLoser|Work | ACTION cleans up his relationships |
# | Jul 21st 2009, 13:43 | ProLoser|Work | classname needs that too? |
# | Jul 21st 2009, 13:42 | ProLoser|Work | hmm... more stray relationships |
# | Jul 21st 2009, 13:42 | Phally | hmm not the problem then |
# | Jul 21st 2009, 13:42 | markstory | well then an association might be missing className => 'Answers.Category' |
# | Jul 21st 2009, 13:42 | ProLoser|Work | only in the plugin |
# | Jul 21st 2009, 13:42 | techno-geek | lol |
# | Jul 21st 2009, 13:42 | markstory | if so you fail. |
# | Jul 21st 2009, 13:41 | Phally | i was about to ask the same |
# | Jul 21st 2009, 13:41 | ProLoser|Work | umm. |
# | Jul 21st 2009, 13:41 | markstory | do you have other models named Category? |
# | Jul 21st 2009, 13:41 | ProLoser|Work | but it doesn't help |
# | Jul 21st 2009, 13:41 | Phally | yeah, i still don't get what is going wrong, should work fine like that |
# | Jul 21st 2009, 13:41 | ProLoser|Work | it initially removed the plugin in the reference |
# | Jul 21st 2009, 13:41 | markstory | that does nothing. |
# | Jul 21st 2009, 13:41 | ProLoser|Work | yup yup phally :) |
# | Jul 21st 2009, 13:41 | ProLoser|Work | which i changed and will likely to remove |
# | Jul 21st 2009, 13:41 | Phally | oh still a problem |
# | Jul 21st 2009, 13:41 | ProLoser|Work | cuz of the preceding if statement |
# | Jul 21st 2009, 13:40 | markstory | ProLoser|Work: why is there a var for $categoryModel? |
# | Jul 21st 2009, 13:39 | Phally | i'm not following, let me read back |
# | Jul 21st 2009, 13:39 | Phally | huh what? |
# | Jul 21st 2009, 13:38 | ProLoser|Work | Phally: someone recommended removing the plugin from the path inside the plugin, that's what the if statemnts for, but it's mostly irrelevent |
# | Jul 21st 2009, 13:37 | ProLoser|Work | it's just a CR::I on the model |
# | Jul 21st 2009, 13:37 | ProLoser|Work | that's my code |
# | Jul 21st 2009, 13:37 | ProLoser|Work | http://bin.cakephp.org/view/1230692424 |
# | Jul 21st 2009, 13:37 | ProLoser|Work | uh |
# | Jul 21st 2009, 13:34 | markstory | how are you getting it out? |
# | Jul 21st 2009, 13:34 | markstory | Cr::init() does pull it out of the registry. |
# | Jul 21st 2009, 13:30 | ProLoser|Work | and even then it seems like if i happen to go into a action that doesn't use it it may bork again |
# | Jul 21st 2009, 13:30 | ProLoser|Work | do i like pull it out of the existing classregistry? |
# | Jul 21st 2009, 13:29 | ProLoser|Work | hmm, that's what i was thinking, i was guessing it might be because it was already loaded by the plugin, what do i do to resolve this issue then? |
# | Jul 21st 2009, 13:29 | markstory | different contents, different results. |
# | Jul 21st 2009, 13:28 | Phally | About that plugin server, i'm refactoring the users plugin for the bakery. Are there specific requirements/demands regarding users of the plugins server logging in? |
# | Jul 21st 2009, 13:28 | markstory | but it depends on whats in the registry |
# | Jul 21st 2009, 13:28 | markstory | no |
# | Jul 21st 2009, 13:25 | ProLoser|Work | is there a reason CRI would work differently from within a plugin vs outside to load a plugin model? |
# | Jul 21st 2009, 13:23 | gwoo | haha |
# | Jul 21st 2009, 13:22 | phishy | i just spammed a vendor with 100 purchase orders, oops |
# | Jul 21st 2009, 13:22 | Phally | oeh i love it when you talk french - adams family |
# | Jul 21st 2009, 13:22 | phishy | i still write poop code |
# | Jul 21st 2009, 13:22 | _nate_ | c'est la vie |
# | Jul 21st 2009, 13:22 | _nate_ | meh, we all have |
# | Jul 21st 2009, 13:22 | markstory | I've written my fair share of poop code. |
# | Jul 21st 2009, 13:22 | techno-geek | markstory's blog posts are extremely useful, I will have to admit that one |
# | Jul 21st 2009, 13:21 | _nate_ | I like the addition of "not poop" |
# | Jul 21st 2009, 13:21 | _nate_ | haha |
# | Jul 21st 2009, 13:21 | _nate_ | techno-geek: yeah, markstory was born awesome |
# | Jul 21st 2009, 13:21 | markstory | make it work, then make it work better / not poop. |
# | Jul 21st 2009, 13:21 | _nate_ | it is better than working with nothing |
# | Jul 21st 2009, 13:21 | ProLoser|Work | !log |
# | Jul 21st 2009, 13:21 | _nate_ | even if the code is really that bad the first time, working with |
# | Jul 21st 2009, 13:21 | markstory | I unlike _nate_, have been super awesome since birth. |
# | Jul 21st 2009, 13:21 | techno-geek | _nate_, ok tnx |
# | Jul 21st 2009, 13:21 | _nate_ | any time you have a question, just let any of us know |
# | Jul 21st 2009, 13:20 | techno-geek | because Im sure I will do something that will need refactored or re-written |
# | Jul 21st 2009, 13:20 | _nate_ | techno-geek: absolutely |
# | Jul 21st 2009, 13:20 | techno-geek | If I start building this app up will you guys work with me on my code design and tell me how to improve it? |
# | Jul 21st 2009, 13:20 | _nate_ | and some of it is still in the core :-D |
# | Jul 21st 2009, 13:20 | ProLoser|Work | phishy: probably |
# | Jul 21st 2009, 13:20 | phishy | just kinda stuck |
# | Jul 21st 2009, 13:19 | _nate_ | also, when I started with Cake, a lot of my code downright sucked |
# | Jul 21st 2009, 13:19 | phishy | i think i stole it from Scrubs |
# | Jul 21st 2009, 13:19 | _nate_ | so you're in good company |
# | Jul 21st 2009, 13:19 | _nate_ | techno-geek: well, he wrote the Oracle driver for Cake, and some other stuff, but he uses the word "funsies" like it's going out of style |
# | Jul 21st 2009, 13:19 | ProLoser|Work | lol @ markstory |
# | Jul 21st 2009, 13:19 | techno-geek | _nate_, no I dont |
# | Jul 21st 2009, 13:18 | _nate_ | techno-geek: you know phishy? |
# | Jul 21st 2009, 13:18 | markstory | so you know I'm super serial |
# | Jul 21st 2009, 13:18 | techno-geek | P |
# | Jul 21st 2009, 13:18 | markstory | yeah. |
# | Jul 21st 2009, 13:18 | techno-geek | this is coming from the same person that uses the word "funsies" |
# | Jul 21st 2009, 13:18 | markstory | never --awesome |
# | Jul 21st 2009, 13:18 | techno-geek | I am quite intimidated by most of the cake devs and I am kind've worried that my code wouldn't be up to par |
# | Jul 21st 2009, 13:18 | markstory | my rule is awesome++ |
# | Jul 21st 2009, 13:18 | _nate_ | nope, just the coding standards page in the Cookbook |
# | Jul 21st 2009, 13:17 | techno-geek | do you have a special hidden handbook somewhere of standards that all Cake devs follow? |
# | Jul 21st 2009, 13:17 | _nate_ | right |
# | Jul 21st 2009, 13:17 | ProLoser|Work | downloading shouldn't require an account too |
# | Jul 21st 2009, 13:17 | techno-geek | yeah I figured you'd eventually do that. |
# | Jul 21st 2009, 13:16 | _nate_ | for the official plugin repository, we can tie it into Bakery logins |
# | Jul 21st 2009, 13:16 | _nate_ | as long as each plugin is attached to some owner and contact information, I don't think we need a formal user system |
# | Jul 21st 2009, 13:16 | _nate_ | well, strictly speaking, I think the user registration can probably be separate |
# | Jul 21st 2009, 13:15 | techno-geek | and then it looked like there was some web app to it as far as getting Users registered and uploading their plugins to the server |