473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

UML Stereotypes for PHP

Has anyone of you tried to model PHP with UML? I am looking for design
stereotypes that would express everything that can be coded in PHP. If
anyone of you had a chance to read a book by Jim Conallen "Building Web
Applications with UML Second Edition" - there is an example of
stereotypes suggested for JSP. I am looking for similar set of
stereotypes but for PHP.

Thanks in advance,
Jakub Moskal.

Jul 17 '05 #1
7 1914
Visit
http://www.phppatterns.com

I hope this will end your search.

bhawin13

Jul 17 '05 #2
Jakub Moskal wrote:
Has anyone of you tried to model PHP with UML? I am looking for design
stereotypes that would express everything that can be coded in PHP. If
anyone of you had a chance to read a book by Jim Conallen "Building
Web Applications with UML Second Edition" - there is an example of
stereotypes suggested for JSP. I am looking for similar set of
stereotypes but for PHP.


It is very different to write OO for PHP4 or for PHP5.

AFAIK there is no specific stereotypes for PHP in UML, but those for Java
shouldn't be too far off.

Berislav
Jul 17 '05 #3
That is true, there are no specific stereotypes for PHP, that is my
task. JSP works a little bit differently and it's not easy to map it
directly to PHP. I am wondering how to model superglobals, global
functions or instructions such as icnlude and require in PHP.
phppatterns is a dead website, the last post is dated on july 2004 or
so. They didn't suggest any new stereotypes apart from the ones that
Conallen already has. Anyway, thank you fro your help.

Jakub Moskal

Jul 17 '05 #4
Jakub Moskal wrote:
That is true, there are no specific stereotypes for PHP, that is my
task. JSP works a little bit differently and it's not easy to map it
directly to PHP. I am wondering how to model superglobals, global
functions or instructions such as icnlude and require in PHP.
phppatterns is a dead website, the last post is dated on july 2004 or
so. They didn't suggest any new stereotypes apart from the ones that
Conallen already has. Anyway, thank you fro your help.


Try to combine various other languages' stereotypes. Global scope exists in
C++, but I must say that I don't know of any language besides PHP that has
the globals/superglobals distinction.

Berislav
Jul 17 '05 #5
Thank you for help, that might be a good point to start working on it.
I appreciate your opinions,

Jakub

Jul 17 '05 #6
Hi,

I don't know what are stereotypes, but what I know is that ArgoUML is
capable of designing UML and generate PHP5 code.

Maybe you'll find it interesting : http://argouml.tigris.org

Cheers,
.... zimba

Jul 17 '05 #7
Thank you for reply, however I already looked at ArgoUML. I am trying
to come up with my own UML extension (a part of which are stereotypes)
to maybe in the end generate code from it. There are quite a few
programms that can already spit PHP based on UML, but they don't define
any PHP-specific stereotypes, therefore their possibilities are
constrained.

Anyway, thanks again for your reply, I appreciate it.
Jakub

Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
37
by: michele.simionato | last post by:
Paul Rubin wrote: > How about macros? Some pretty horrible things have been done in C > programs with the C preprocessor. But there's a movememnt afloat to > add hygienic macros to Python. Got any...
114
by: muldoon | last post by:
Americans consider having a "British accent" a sign of sophistication and high intelligence. Many companies hire salespersons from Britain to represent their products,etc. Question: When the...
45
by: cody | last post by:
I've seen an Introduction on ADO.NET with its Datasets on .NET TV and Iam now wondering how it is realized/used in real world applications. I don't believe that one would create a dataset and add...
17
by: in | last post by:
You know, why does Microsoft even bother to spend money to thwart Linux when it's top supporters act like such buffoons anyway...?! http://www.eweek.com/article2/0,1759,1772633,00.asp#talkback ...
16
by: matthurne | last post by:
I just started learning C++ on my own...I'm using Accelerated C++. Something it hasn't explained and I keep wondering about is how header files actually work. I suspect it doesn't get into it...
132
by: Kevin Spencer | last post by:
About 2 years ago, and as recently as perhaps 1 year ago, I can recall seeing many posts about what language to use with ASP.Net. The consensus was that employers paid more for C# programmers, and...
4
by: Klauer | last post by:
Hello All! I have been thinking about this quite a bit recently, and was wondering if my stereotypes are founded on truth or just stereotypical assumptions about programmers and health. It's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.