Flex 4 AMFPHP User Manager
17 June, 2010 - 11:41
Professionally Made Flex 4 User manager,Exclusively at FlexDen.net.
Now You can easily manage flex application users, groups and their permissions.
SIZE: 91Kb+module(67Kb)
End user features list:
- manage users/groups/permissions
- create/update/delete users
- create/update/delete user groups
- assign user to group
- change group permissions
Developer features list:
- base on Mate framework http://mate.asfusion.com
- sources is splited into 2 parts: main application and usercontrol module, each part can be used separatelly
- header text, api url and bottom text configurable in config.xml
- AMFPHP on server side http://www.amfphp.org (easily can be switched to Zend_AMF or WebORB or some other implementation of AMF)
- easily make restrictions to any user by defining own roles in database
- UserVO, GroupVO and PermissionVO objects well connected between client and server side
- client and server side can be used on different servers
Sample:here
You can login to sample with
login: demo
password: demo
demo user has is assigned to demo group which has only read permissions
Readme Files Included:
Readme's are included for Client and Server Folders, to show You where to change paths,and setup , etc.
Please let me know If You have any Questions,or Issues,
I will be Glad to Help.
To view this page ensure that Adobe Flash Player version 10.0.0 or greater is installed.





blinov says:
Hi,
i,ve got an error:
[RPC Fault faultString="[MessagingError message='Destination 'amfphp' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']" faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to 'amfphp'"]
Please tell me, what's wrong.
Blinov
Antonos says:
Hi, Blinov,
I think you have wrong gateway uri
check your client side sources (Flash Builder)
you can find gateway uri in the following file
client/src/services-config.xml (services-config.channels.channel-definition.endpoint.@uri)
uri should point flex application to correct server side gateway
don't forget to recompile flex application after changing uri
Best regards,
Antonos
blinov says:
Hi Antonos,
thanks for such quick replay.
But i think it's something else.
My gateway.php is working correctly (checked via browser and other app) and i wrote this url correctly.
It could not be something with ports, or maybe firewall on server?
Best regards
Blinov
blinov says:
Antonos,
should i change this part of code?:
http://i.localhost/usermanager/api
in congig.xml file.
Best regards
Blinov
Antonos says:
Blinov,
no, sorry, it's left from my File Manager component
you don't need to change apiURL and layout tags in User Manager component
Best regards,
Antonos
Antonos says:
hmm, strange, you should not have problem if gateway.php is working properly
send me your gateway uri via email (anton.flash{at}gmail.com) I will test it
Antonos
blinov says:
i cannot send you gateway uri, because it is on intranet. You want be able to see it.
But i make progress.. tag in files:
i added endpoint with gateway uri in
- MainEventmap.mxml
- UserControlEventMap.mxml
Now, i can log in, but i don't see nothing but logout button
Any suggestion? How display the rest of app?
I think, maybe some catalog address is wrong?
best regards
Blinov
blinov says:
i can't send you gateway.php uri, because it is on intranet server. You want see it.
But i made small progress.
- MainEventMap.mxml
I added endpoint with gateway.php uri in
- UserControlEventMap.mxml
Now, i can log in, but i see only logout button nad footer
Any suggestion to make it all visible?
Maybe some catalog address is wrong?
Best regards
Blinov
Antonos says:
I think problem in how you creating project in Flash Builder
I think you didn't use File->Import->Flash Builder Project...
you created an empty one and added sources there, right?
if yes - you should change project settings:
Project->Properties->Flex Compiler->Additional compiler arguments:
-locale en_US -services services-config.xml
Project->Properties->Flex Modules:
src\module\usercontrol.mxml
in this case Flex will know about gateway uri and usercontrol module
Best regards
Antonos
Antonos says:
see above
Best regards,
Antonos