Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

* | |

  Show Posts
Pages: [1] 2 3 4
1  Announcements and General Discussion / Public Demos, Tools and Applications / Re: User Manager Demo (Puremvc + weborb + php + mysql) on: November 23, 2008, 06:02:15
Thanks Cliff, i have uploaded all sources in .zip too, can be downloaded from here:
http://onedesign.com.pt/puremvc/UserManagerDemo.zip

Daniel Gomes

Download failure.



Hi Kevin,

I tried now, and i download it successful.

Daniel Gomes
2  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 11, 2008, 11:24:07
Yes i use it, for me it's more easier to work then amfphp at least for PureMVC you don't need to have the VO in a different folder and Weborb can generate code and in the next release 3.5 you will have data management it will be a very nice feature :D

In AMFPHP it should work now, i tried and it works.

Daniel Gomes
3  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 11, 2008, 02:35:32
I found the problem.

AMFPHP, only recognize VO and Paths if the VO and the php Service file have the same structure. So you need to have it:

The LoginServiceFacade.php have to be in this directory -> services/net/scriptoninteractive/buipower/model
The LoginVO.php have to be here -> services/vo/net/scriptoninteractive/buipower/model/vo

Now you have to change all paths inside of files, it should work now.

Daniel Gomes
4  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 10, 2008, 01:58:05
Show all your php codes and folder/file structure, let's see what is happening, but it's strange for sure :| But for me the only problem is Paths or AMFPHP configuration.

Daniel Gomes
5  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 10, 2008, 01:48:11
well..every since you said you keep your services in the root of the services folder

My english is a little bad, but i think i never said that, because i always use the same file/directory structure in client side and server side, soo that's way i told you to return back in folder directory, but if you have it in your root Services it should work with ../vo/net/scriptoninteractive/flex/weborb/buipower/model/vo/LoginVO.php. But my advice is to use the same structure of PureMVC. The problem here is some path's that are incorrect or a little bug, use the amfphp browser and see if it's working (i'm talking about the LoginService).

Daniel Gomes
6  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 09, 2008, 01:28:38
Take a look in LoginService

function getUser(LoginVO $loginVO)
   {
      include_once("../vo/net/scriptoninteractive/flex/weborb/buipower/model/vo/LoginVO.php"); <-------------- This path is totally correct?

    ....(more code to authenticate credentials)
    }


try change it to: "../../../../../../vo/net/scriptoninteractive/flex/weborb/buipower/model/vo/LoginVO.php"

Daniel Gomes
7  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 09, 2008, 09:43:27
Service Capture is a software to see what happens when you call web services you can download the trial here:

http://kevinlangdon.com/serviceCapture/

Probably it's working but maybe it's something wrong in your database connection or authenticate credentials and you only see it if you use Service Capture i think. Channel Disconnect can be a lot of tip of errors.

Daniel Gomes
8  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 09, 2008, 09:28:36
where is your LoginService.php file? what directory?

if you have LoginService in services/LoginService.php

your source was to be like this: _loginService.source = "LoginService";

But when i use PureMVC i always use the same directory structure on both (server side and client side).

Use the Service Capture and see what happen.

And make sure that all paths are correctly.

Daniel Gomes
9  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 09, 2008, 09:01:25
Try this on LoginVO.as:


package net.scriptoninteractive.flex.weborb.buipower.model.vo
{
   [RemoteClass(alias="net.scriptoninteractive.flex.weborb.buipower.model.vo.LoginVO")]   
      [Bindable]
   public class LoginVO
   {
      public var username: String;
      public var password: String;
      public var loginDate: Date;
   }   
}

The paths must be exactly in server side and client side.

Daniel Gomes
10  Announcements and General Discussion / Getting Started / Re: Weborb Login Sample using AMFPHP instead on: September 09, 2008, 01:14:21
Hi kofi,

The problem is server side, where do you have your LoginVO in amfphp? what directory? it may depend on your amfphp configurations.

Daniel Gomes
11  Announcements and General Discussion / Public Demos, Tools and Applications / First Real Project with PureMVC on: September 04, 2008, 10:17:24
Hi guys, today i finished my first real project with PureMVC/Flex/AMFPHP.

The Project in the frontend in raising real estate consultants on a form and a brief description of the real estate and the about the job. In the backend makes all management and allows download and print the curriculum vitae. The application is in Portuguese.

You can see it here: http://www.eucasa.pt/recrutamento

Daniel Gomes
12  Announcements and General Discussion / Getting Started / Re: Best to implement ViewStack or ViewStates or Both on: September 03, 2008, 12:07:50
I already made one demo but just use one viewstack to change from login to the main application, in main application it add 3 components and handle with deferred instatiation. You can see it here:

http://forums.puremvc.org/index.php?topic=639.0

But i think doesn't exists any demo with more then one viewstack.

Daniel Gomes
13  Announcements and General Discussion / Getting Started / Re: Best to implement ViewStack or ViewStates or Both on: September 02, 2008, 12:30:53
Well a website can be "simpler" or "complex" but what i tried said was when you got some buttons and a main "container" that will have the contents for the buttons in this case i use a viewstack.

About the second question, imagine that:

A Module that have the recently news and the most view news, in this case i will use a view stack but you can load it to your application and put it on a side bar or other place you don't have to put this module in a view stack, my english is not good and sometimes is hard to me to explain, do you understood what i am trying say?

Off course you can mix, you should think in your projects on a simple way, try to make separated modules that can be reuse in other projects and can be totally independent of other Modules. ;) Sometimes you will have one, two,three viewstacks inside a module others maybe you will not use it, like i said it always depends on project ;)

Sorry my english ;)

Daniel Gomes
14  Announcements and General Discussion / Getting Started / Re: Best to implement ViewStack or ViewStates or Both on: September 01, 2008, 11:52:54
Hi,

I can tell you my personal experience, i am currently building my first real project with PureMVC and in my frontend i use the viewstack to change the contents but it will be like a website. But in the Backend i use the viewstack only for change the login panel to the main application, then i load/unload my modules when i need. But some modules can have some viewstacks always depends on contents ;)

ViewStacks have a "little" problem in PureMVC, Deferred Instatiacion, but Cliff already resolved it and make a demo "Slacker Demo" it explains how to handle with Deferred Instatiacion.

Daniel Gomes
15  Announcements and General Discussion / Architecture / Re: Transfering Eclipse GEF experience over to wxPython and puremvc on: August 25, 2008, 07:39:48
Hi barfoos,

I really don't know that framework and i don't work with python too, but my advices are:

- Read the "Implementation Idioms and Best Practices" you can find it on http://puremvc.org/ on the left with this label "Best Practice" you have some language that you can choose
- Look for some demos in http://puremvc.org/ and try understand how they work!

Daniel Gomes
Pages: [1] 2 3 4