jlkalberer / Appcelerator-Mvc

Mvc Framework for Appcelerator
Other
20 stars 1 forks source link

Not working correctly on Android, iPhone and iPad? #5

Open SkyTang opened 12 years ago

SkyTang commented 12 years ago

Hi there,

Today I was testing your MVC framework but doesn't seems to work on the mobiles simulators. On the android it crashes when i press "create Account". On the iPhone/iPad after clicking "create Account" and when I click it back, I can't go to back to the create account view.

Is this framework still in alpha or beta version?

jlkalberer commented 12 years ago

Hi SkyTang,

Did you try the version off github or through the Appcelerator marketplace? I haven't had a lot of time to test this framework with the new Titanium SDK so I am not sure if it is still working. I am working on a new branch and changing over to the RequireJS model with minimal closures. I believe that should fix issues and speed up the framework overall.

SkyTang commented 12 years ago

Hi jlkalberer,

The version i got was from this github, the one that is from the marketplace didn't really supported tabgroup. Your MVC looks one of the best that I've looked so far :).

I have tested it on SDK 1.7.5 - 1.8 and they have the same bugs that I have posted it on this issue. On the android it said that he couldn't find the .rjss file of from redux so it crashes for some reason but when I commented the .rjss file it crashes too so don't know what the bug really is. On the iPhone it was because it came from the navigation back button in place of pressing the create button so he would not call "self.action("Accounts)" to make the listener work.

That's what I have found when I tested and a bit debugged your framework. Is that a huge bug or is it repaireable?

gj-jansma commented 12 years ago

Hello John,

You're talking about "changing over to the RequireJS model" can you give us an estimation on when it'll be finished?

jlkalberer commented 12 years ago

@SkyTang - Your issue seems to stem mainly from the fact that you are missing the tabs. What I would do is take the source from the 'master' branch here for the Mvc.render function (/Resources/vendor/plugins/MVC/render.js). I do not believe that it will take much tweaking to get this to work. With that code you can use the 1.0.x version of the framework found on the Appcelerator Marketplace. This has been tested and works with both iOS and Android so it is your best bet.

@gj-jansma - I didn't get anything done on the project over the holidays but I should have some time next week to work on the framework. I want to document all the changes/additions to the framework that have been made but I plan on getting the new branch I am working with updated on github as soon as possible. I have quite a bit of work/restructuring completed on my local repository at work but I want to run through and test things more thoroughly before I merge into the master. If you would be willing to test on iOS when I get Android tested it would definitely speed things up.

Thanks, John