Provide client-selectively www.mms2.org/www.mms2.cz sites.
[www.jankratochvil.net.git] / product / mms2 / Index.pm
1 # $Id$
2 # Main page of 'product::mms2'
3 # Copyright (C) 2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 package product::mms2::Index;
20 require 5.6.0;  # at least 'use warnings;' but we need some 5.6.0+ modules anyway
21 our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
22 our $CVS_ID=q$Id$;
23 use strict;
24 use warnings;
25
26 use My::Web;
27
28
29 our @ListItem=(
30                 "name"=>"MMS2",
31                 "priority"=>100,
32                 "icon"=>"icon.jpeg",
33                 "summary"=>"Alternative center for cheaper mobile phones multimedia messages (MMS)",
34                 "description"=>sub { return <<"HERE"; },
35 <p>You can use MMS messages for a price slightly higher than regular SMS
36 message, depending on the GPRS data price plans of your country.
37 Service is suitable to coexist with existing GSM networks MMS services.</p>
38 <p><b>LOOKING FOR AGENTS:</b> Would you like revenue share of this service deployed
39 even for your country? Do not miss the chance - @{[ a_href '/product/mms2/#agent','checkout more!' ]}</p>
40 HERE
41                 );
42
43 sub handler
44 {
45 Wuse 'product::Lib';
46 my $W=product::Lib->init(
47                 "css_push"=>"/product/mms2/Index.css",
48                 );
49
50 my $ListItem=product::Lib->name_to_hashref("mms2");
51
52
53 my %www_mms2_site=(
54         "CZ"=>"www.mms2.cz",
55         "SK"=>"www.mms2.cz",
56           ""=>"www.mms2.org",
57         );
58 my $www_mms2_site=text_cc \%www_mms2_site;
59 $_="http://$_/" for values(%www_mms2_site);
60 # <caption/> would get wrapped to the image width.
61 print <<"HERE";
62 <h1>@{[ product::Lib->title($ListItem) ]}</h1>
63
64 <p>Currently supported client mobile phones of the country: <i>Czech Republic</i></p>
65 <table border="0" class="margin-center td-center">
66         <tr><td>@{[
67                 a_href_cc \%www_mms2_site,img('web-screenshot256.png',"$www_mms2_site web link")
68                 ]}</td></tr>
69         <tr><td style="font-size: xx-large;">@{[
70                 a_href_cc \%www_mms2_site,"$www_mms2_site web link"
71                 ]}</td></tr>
72 </table>
73 HERE
74
75 print <<"HERE";
76 <h2 id="agent">Revenue share from MMS in your country</h2>
77
78 <p>This calculation is based on an assumption price for sending 1 MMS message
79 (<b>MMS_price</b>) is constant. In some countries the MMS messages are exactly
80 for the price of the GPRS data transfer itself - there definitely does not make
81 any sense to deploy this custom MMS center called <b>MMS2</b>:</p>
82
83 <table border="0" class="margin-center"><tr><td>
84         min(<b>SMS_price</b>, EUR <b>0.04</b>) + 20 * <b>1KB_GPRS_price</b> + <b>income</b>
85                         &lt; <b>MMS_price</b>
86 </td></tr></table>
87
88 <p>Each MMS transaction requires 1 notificating binary SMS and usually about 20
89 KB of GPRS transferred data. Please note there is generally no possibility to
90 use any free or cheap SMS gateways as they cannot pass arbitrary binary
91 data. MMS transaction scheme:</p>
92
93 @{[ centerimg "mms-xfer.svg","MMS Transaction" ]}
94
95 <p>I am also interested in SMS prices valid for sending messages to the
96 countries worldwide substantially below the currently available sending for the
97 price EUR 0.04.</p>
98
99 <p>Your deployment of <b>MMS2</b> will need to cover at least very detailed
100 local price plans analysis, appropriate kind of service marketing and basic
101 service deployment testing. Currently already covered countries:
102 <i>Czech</i>,
103 <i>Japan</i>.
104 Do not hesitate to contact me: @{[ a_href 'mailto:mms2@jankratochvil.net' ]}</p>
105
106 <p>Do you consider MMS dead? The service really did not reach the expectation
107 but it is usually caused at least by its current exaggerated prices trying to
108 cover its expensive development. With the proper international cooperation and
109 this service framework with low investition costs it may undercut even the
110 prices of your local <b>SMS</b> prices! Currently it already can equal the MMS
111 price to the usual SMS price due to different available SMS service prices.</p>
112
113
114 <h2>Any disadvantages?</h2>
115
116 <p>The cooperation with existing MMS center is the major problem although it
117 should be acceptably resolved for the target customers of this alternative
118 center <b>MMS2</b>. It cannot be deployed with official MMS centers
119 interconnecting contract with existing operators as the fees for MMS
120 termination in the 'legacy' MMS center would inhibit any competitive prices of
121 the MMS service itself offered by this alternative center <b>MMS2</b>. It may
122 be different in your country, though - check yourself, please</p>
123
124 <p>Currently deployed service is based on:</p>
125
126 <table border="1" class="delivery-method">
127         <tr>
128                 <th>Originating Mobile</th>
129                 <th style="font-weight: bold;">&mdash;&gt;</th>
130                 <th>Recipient Mobile</th>
131                 <th>Develivery Method</th>
132         </tr>
133         <tr id="a_table">
134                 <td>Legacy operator's center</td>
135                 <td class="sign">&mdash;&gt;</td>
136                 <td>Legacy operator's center</td>
137                 <td>(legacy, not <b>MMS2</b> related)</td>
138         </tr>
139         <tr id="b_table">
140                 <td><b>MMS2</b> service</td>
141                 <td class="sign">&mdash;&gt;</td>
142                 <td>Legacy operator's center</td>
143                 <td><b>MMS2</b> initiated WAP-Push</td>
144         </tr>
145         <tr id="c_table">
146                 <td>Legacy operator's center</td>
147                 <td class="sign">&mdash;&gt;</td>
148                 <td><b>MMS2</b> service</td>
149                 <td><b>operator</b> initiated text SMS</td>
150         </tr>
151         <tr id="d_table">
152                 <td><b>MMS2</b> service</td>
153                 <td class="sign">&mdash;&gt;</td>
154                 <td><b>MMS2</b> service</td>
155                 <td><b>MMS2</b> native MMSE delivery</td>
156         </tr>
157 </table>
158
159 <p>WAP-Push type delivery for non-<b>MMS2</b> recipients includes information
160 on subscribing the cheaper <b>MMS2</b> provider thus the friends really wanting
161 to save on MMS messages cost will all move to the alternative <b>MMS2</b>
162 services while utilizing the standard (MMSE) native MMS messages delivery.</p>
163
164 <p>In the case the customer is already subscribed to the alternative
165 <b>MMS2</b> center and it is sent MMS message via the legacy operator's MMS
166 center it will get delivered generally only as text SMS message with web pickup
167 instructions. This is the only serious drawback of this <b>MMS2</b>
168 services.</p>
169
170 HERE
171
172
173 exit;
174 }
175 1;