Looking for a financial partner

I’m developing a very cool Web and Mobile project, and I’m looking for a financial partner to share the project copyright and royalties.

If you know a company that may be interessed please notify me.

Please share this message.

UK and iOS Development are the best

I’m developing an iOS App for a UK financial institute, only for UK financial professionals.

So, what can I say about the UK. They are always at the TOP of the mobile development, in Europe they have the right market for mobile.

UK is the best …

“Green Value” – I just had an epiphany, how to help reduce our footprint.

IMG_0004

The “Green Value” will be a “Go Green” community (web portal). through this portal all the registered users will have access to various “Go Green” services.

“Green Mobility” service:
The “Green Mobility” can be a regular cab, a mono-volume, a bus or a limousine. Any type of transportation resource, that can be shared by multiple users.

Now, picture this:
All “Green Mobility” vehicles, collecting some special wastes, such as, old batteries, medication… Then drop them on special places to be handled by specialized entities.

How does it work?
The user does the register on the portal, and indicates which is the pick address and destination address, immediately will be presented to the user the various groups of people who share the same route, so the user can choose one of the groups.

In other hand, the transportation providers will be notified of the existence of more users, in order to adapt the route and resources required to perform the transportation.

Now imagine this. The user do not be worried if it will find a place to park your car.
The amount to pay will be smaller, because vehicle will be shared by many users of the service and a single monthly bill.

The transportation providers can manage all the resources in a more efficient way, and have a fixed routes and customers.
Today a cab, tomorrow maybe a bus, who knows.

This service will reduce significantly the number of vehicles entering the major cities, and may also contribute in a positive way to information exchange between different kind of people.

Install Web2py on Mac OS X Mountain Lion Server

Today a friend asked me for help, he needed to install Web2py on Mountain Lion Server, so I have performed some tests, and this is the result.

So, to install Web2py on Mountain Lion server you need to do the following steps:

1º Modify the original Mountain Lion server Apache configuration file:

File Name: httpd_server_app.conf
Location: /Library/Server/Web/Config/apache2 (Default Mountain Lion Server Installation)


#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#

#AddHandler cgi-script .cgi .pl .rb .py # Comment this line.
AddHandler cgi-script .cgi .pl .rb # Add this one.

Or rename the file /web2py/wsgihandler.py to /web2py/wsgihandler.wsgi (I haven’t performed this test).

2º Create the Apache2 config files for port 80 and port 443 (SSL):

Now you need to create two apache configuration files, one for the regular site and a second for the web2py administration site.

For the regular website, create a configuration file like this one:
File Name: httpd_0001_web2py_80.conf

 
WSGIScriptAlias / /PATH_TO_THE_WEB2PY_FOLDER/web2py/wsgihandler.py

<Directory /PATH_TO_THE_WEB2PY_FOLDER/WebApps/web2py>
	AllowOverride None
	Order Allow,Deny
	Deny from all
	<Files wsgihandler.py>
		Allow from all
	</Files>
</Directory>

AliasMatch ^/([^/]+)/static/(.*) \
          /PATH_TO_THE_WEB2PY_FOLDER/web2py/applications/$1/static/$2
<Directory /PATH_TO_THE_WEB2PY_FOLDER/web2py/applications/*/static/>
	Order Allow,Deny
	Allow from all
</Directory>

# Deny access to the global administration are.
<Location /admin>
	Deny from all
</Location>

# Deny access to the applications administration are.
<LocationMatch ^/([^/]+)/appadmin>
	Deny from all
</LocationMatch>
 

Now. for the administration website, create a configuration file like this one:
File Name: httpd_0001_web2py_443.conf

 
WSGIScriptAlias / /PATH_TO_THE_WEB2PY_FOLDER/web2py/wsgihandler.py

<Directory /PATH_TO_THE_WEB2PY_FOLDER/web2py>
	AllowOverride None
	Order Allow,Deny
	Deny from all
	<Files wsgihandler.py>
		Allow from all
	</Files>
</Directory>

AliasMatch ^/([^/]+)/static/(.*) \
       /PATH_TO_THE_WEB2PY_FOLDER/web2py/applications/$1/static/$2
<Directory /PATH_TO_THE_WEB2PY_FOLDER/web2py/applications/*/static/>
	Order Allow,Deny
	Allow from all
</Directory>
 

For more detail on Web2py and Apache2, see this chapter: http://web2py.com/book/default/chapter/13

Ok, we are almost done, but now you are asking:

Where is the VirtualHost declaration on the configurations files ?

Well, we don’t need it, because we are configuration WebApps for Mountain Lion Server, as you will see it in the next step.

3º Create the WebApps configurations file for Mountain Lion Server:

For the regular website “Mountain Lion Server Application”, create a configuration file like this one:
File Name: com.example.web2py_80.plist

 
<?xml version="1.0" encoding="UTF-7"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>name</key>
	<string>com.example.web2py_80</string>
	<key>displayName</key>
	<string>Web2py port 80 app at / </string>
	<key>launchKeys</key>
	<array/>
	<key>proxies</key>
	<dict/>
	<key>installationIndicatorFilePath</key>
	<string>/PATH_TO_THE_WEB2PY_FOLDER/web2py/wsgihandler.py</string>
	<key>includeFiles</key>
	<array>
		<string>/PATH_TO_THE_CONFIG_FOLDER/httpd_0001_web2py_80.conf</string>
	</array>
	<key>requiredModuleNames</key>
	<array>
		<string>wsgi_module</string>
	</array>
</dict>
</plist>
 

Now, for the administration website “Mountain Lion Server Application”, create a configuration file like this one:
File Name: com.example.web2py_443.plist

 
<?xml version="1.0" encoding="UTF-7"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>name</key>
	<string>com.example.web2py_443</string>
	<key>displayName</key>
	<string>Web2py port 443 app at / </string>
	<key>launchKeys</key>
	<array/>
	<key>proxies</key>
	<dict/>
	<key>installationIndicatorFilePath</key>
	<string>/PATH_TO_THE_WEB2PY_FOLDER/web2py/wsgihandler.py</string>
	<key>includeFiles</key>
	<array>
		<string>/PATH_TO_THE_CONFIG_FOLDER/httpd_0001_web2py_443.conf</string>
	</array>
	<key>requiredModuleNames</key>
	<array>
		<string>wsgi_module</string>
	</array>
</dict>
</plist>
 

4º Configurate Mountain Lion WebServer:

Ok, now that we have all necessary configuration files, we need to configure Mountain Lion Web Server, but before we do it, we need to put our *.plist files on the correct location for register the WebApps on Mountain Lion Server.

So now, we need to copy all *.plist files to the following path: /Library/Server/Web/Config/apache2/webapps (Default Mountain Lion Server Installation).

WebServer Global Configurations

Ok, now that we have copied the files, we need to open the “Server Application” and select the WebSites option on left panel, as you can see on the following image.

Now, enable python web applications option, so you can select the desire application from the application list, as you will see on this post.

WebServer Global Configurations Edit Site

Now select the site that you want to enable the Web2py Application (port 80 in this case). As you see on the image, I’m using the default one, to simplify this post, but you can use any of your websites.

So, after you have selected the website, press the “pen button” at the bottom of the window to show the next window where you can edit your website.

WebServer WebSite Configurations

Ok, now press the button “Edit Advanced Settings” so you can see the next screen.

WebServer WebSite WebApp Configurations

Now, on this screen select the python application that you want to enable, as you can see on the image.

Ok, now close all windows and open your favorite browser for test the Web2py site.

Now you have to repeat the step 4, so you can configure the https (port: 443) for the Web2py administration.

I hope this helps.

InPanic – Behind the Scenes

 

Behind the Scenes

Building the new look and feel, step by step.

Home Page <

 

InPanic iOS App, building the Main Storyboard from scratch.


 
Source Code:

 

InPanic iOS App, Class Inheritance.

In this video, you will see how to build the DefaultMasterViewController and how to use class inheritance for speeding up the development.


 
Source Code:

 

Coming soon:
  • CoreData;
  • Build the DefaultDetailViewController (UIViewController);
  • Delegation.

InPanic App, I have 50 promotion codes to offer.

InPanic App, I have 50 promotion codes to offer. So if you like to have one, please subscribe using the form bellow. After you confirm the subscription, you’ll receive the promotion code.

48 promotion codes in 5 days, so I only had 2 more promotional code to offer.

No more codes to offer, but you can subscribe anyway for future notifications.

Thanks.
 

YTo4OntzOjk6IndpZGdldF9pZCI7czoyMDoid3lzaWphLW5sLTEzNDk3MDkwMDQiO3M6NToibGlzdHMiO2E6MTp7aTowO3M6MToiMSI7fXM6MTA6Imxpc3RzX25hbWUiO2E6MTp7aToxO3M6MTI6IkRlZmF1bHQgbGlzdCI7fXM6MTI6ImF1dG9yZWdpc3RlciI7czoxNzoibm90X2F1dG9fcmVnaXN0ZXIiO3M6MTI6ImxhYmVsc3dpdGhpbiI7czoxMzoibGFiZWxzX3dpdGhpbiI7czo2OiJzdWJtaXQiO3M6MTA6IlN1YnNjcmliZSEiO3M6Nzoic3VjY2VzcyI7czo1MDoiQ2hlY2sgeW91ciBpbmJveCBub3cgdG8gY29uZmlybSB5b3VyIHN1YnNjcmlwdGlvbi4iO3M6MTI6ImN1c3RvbWZpZWxkcyI7YTozOntzOjk6ImZpcnN0bmFtZSI7YToxOntzOjExOiJjb2x1bW5fbmFtZSI7czo5OiJmaXJzdG5hbWUiO31zOjg6Imxhc3RuYW1lIjthOjE6e3M6MTE6ImNvbHVtbl9uYW1lIjtzOjg6Imxhc3RuYW1lIjt9czo1OiJlbWFpbCI7YToxOntzOjU6ImxhYmVsIjtzOjU6IkVtYWlsIjt9fX0=

 

Using the Promotion Code

Ok, how to use the promotion code on Apple App Store, please follow the next steps:

Step 1:
Open iTunes, once iTunes is opened on the left bar select the option “iTunes Store”.

Step 2:
Now, as you can see on the following image, you have to select the option “Redeem” / “Resgatar”.

English

Portuguese

Step 3:
After you select the option “Redeem” / “Resgatar” you’ll see the dialog showed on image bellow, write your promotion code and then click on the button “Redeem” / “Resgatar”.

English

Portuguese

Step 4:
Ok, now you can install and start using you InPanic App.

I hope you never need to use it, but we never know.

Getting Started With InPanic