Re: vps vs dedicated server

2011-06-13 Thread Azril Nazli
For cooler video hosting, try Wowza Media Server. I use them to serve
video in these formats

- rtmp with flv and mp4 container
- Apple HTTP
- rtsp
- SilverLight

And I use CakePHP to manage all the videos

Azril
http://iiiBuntu.com

On Jun 10, 9:48 pm, Maurits van der Schee maur...@vdschee.nl wrote:
 I would order a vServer or Root server at Hetzner:

 http://www.hetzner.de/

 Regards,

 Maurits

 On 06/09/2011 10:57 PM, Philip Thompson wrote:

  Chat with a sales person at SoftLayer. Tell them what you're looking for
  and they will help you determine what the best solution is for your
  company. They won't try to under or over sell you - it's about finding
  the right package that fits your needs. (I promise I'm not a sales
  person =P)

 http://www.softlayer.com/

  http://www.softlayer.com/Hope this helps,
  ~Philip

  On Thu, Jun 9, 2011 at 12:13 PM, Jeremy Burns | Class Outfit
  jeremybu...@classoutfit.com
  mailto:jeremybu...@classoutfit.com wrote:

     www.tdrnetworks.comhttp://www.tdrnetworks.com - not a great
      looking website, but really good service, great products and really
      reasonable costs. They host some of my sites. $50-$100 per month
      will give you plenty of scale.

      Jeremy Burns
      Class Outfit

      jeremybu...@classoutfit.com
      mailto:jeremybu...@classoutfit.com
     http://www.classoutfit.com

      On 9 Jun 2011, at 17:40, Tan Cheng wrote:

        Hi everyone,

        I don't know if this question belongs to here, but will ask it
      anyway.

        I wrote a video site for my company recently in cake, and for
        demonstration purpose, I am now just hosting it on a shared hosting
        with several bucks per month.

        However, my boss decides to start using it officially and I think I
        should migrate it to a more secure and stable environment. The IT
        department says that we need to purchase a dedicated host for about
        $1-$15000. My boss thinks it's too expensive.

        I googled around and found the vps is a pretty pratical solution, I
        will have root access plus I can get 24 7 tech support. But what
      other
        aspects should I consider? My boss wants me to come up with a matrix
        comparing dedicated server vs VPS.

        This site will need about 50gb to start with and the traffic won't be
        very high, the videos are more educational than entertaining.

        I am just an amateur programmer, and know little about security
        issues. So what should I do?

        Thanks in advance!

        -David

  --
 http://lonestarlightandsound.com/

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more
  options, visit this group athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Video : Tree Behavior Jquery

2011-01-27 Thread Azril Nazli
URL : http://azrilnazli.blogspot.com/2011/01/video-cakephp-tree-behavior.html

In this video ( no audio narration ), I wrote a simple CMS that using
Tree Behavior .
- add data
- list data
- edit data
- delete data
- tree view

And to add some spice, I use jquery form validation. Maybe later I'll
record a video on how to use Jquery Tree with CakePHP Tree

Azril from Malaysia

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Getting recursive user data via Auth

2011-01-23 Thread Azril Nazli

Wicked cool :D
cricket wrote:
 On Sat, Jan 22, 2011 at 3:53 PM, Yaron yaron.go...@gmail.com wrote:
  Hi,
  Suppose I a users table, a groups table, and every user belongs to a
  group. I'd like via the app_controller to get the group's name, in
  order to set it in the view.
  I've used the following code in app_controller.php:
  function beforeRender(){
         $this-loadModel('Group');
         $group = $this-Group-find('id = ' . $this-Auth-user('group_id'));
         $this-set('groupName', $group['Group']['name']);
  }
 
  This code works great, but is there another way than using the
  loadModel method? thanks.

 You can grab the name from within login() and store it in the session.
 Assuming you have $this-Auth-autoRedirect = false in
 AppController::beforeFilter() ...

 public function login()
 {
   if ($user = $this-Auth-user())
   {
   $this-User-Group-id = $this-Auth-user('group_id');

   $this-Session-write(
   'Auth.User.group_name',
   $this-User-Group-field('name')
   );

   $this-redirect($this-Auth-redirect());
   }
 }

 Then you can get the name from within a controller:
 $this-Auth-user('group_name');

 ... or view:
 $this-Session-read('Auth.User.group_name');

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Video : Ajax Form Validation in CakePHP 1.3 using Jquery

2011-01-21 Thread Azril Nazli
Ever try to simulate $ajax-observeField() in Cake using Jquery, the
following video shows you how

URL : http://www.php.net.my/forum/video-cakephp-validation-jquery

- the video has no audio so you need to pay attention to whatever I
typed
- recorded using CamStudio in AVI and later converted to FLV, you will
need FLV player

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Wowza Live Streaming and CakePHP

2010-09-06 Thread Azril Nazli
CakePHP really rocks, I've successfully integrate userdb , logs with
Wowza Media Server for live streaming

The story : 
http://azrilnazli.blogspot.com/2010/09/beta-test-stream-your-life.html

Azril Nazli
Putrajaya, Malaysia

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Ebook : CakePHP 1.3 ACL ACO/ARO Control Panel

2010-08-20 Thread Azril Nazli
Those who can understand Bahasa Melayu language ( probably who's
living in Indonesia,Malaysia,Brunei ) , can read the book. But I use a
lot of screenshots in English, so probably you can follow the tutorial

This book is all about building Control Panel to
1. Manage ACOs
2. Assign Permission to AROs ( users ) to ACOs ( Controllers/Action )

Language : Bahasa Melayu
ScribD : http://www.scribd.com/doc/36175172/CakePHPPanelKawalanACL-AzrilNazli


Azril Nazli

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Adding data using SCHEMA

2010-08-17 Thread Azril Nazli
Is ist possible to add some data automaticalle in schema cli

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


CakePHP 1.3 Form Samples with default value

2010-07-13 Thread Azril Nazli
Might be useful for somebody, here's the sample

http://azrilnazli.blogspot.com/2010/07/cakephp-13-form-samples-with-default.html

Pastebin : http://pastebin.com/MAekWJCt

in the controller just debug the inconing value, enjoy


Azril Nazli
Putrajaya, Malaysia

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Powered by CakePHP logos?

2010-02-07 Thread Azril Nazli
I'm proudly using the stadard one :)

http://protonmania.com ...way down to the bottom

On Feb 7, 8:27 am, Raven ke...@ravenne.net wrote:
 I know this seems kind of off-topic, but I couldn't find a more
 appropriate place to post this.  I was wondering if there were any
 sort of collection of CakePHP logos/banners/buttons to post on your
 website (besides the CakePHP | Power button found in the bottom right-
 hand corner of Cake's default layout).  I even went to the logos page
 (cakephp.org/logos) and although it mentions the logos linked below
 there are no logos linked on the page.

 Thanks in advance for any assistance.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Australian Job Vacancy - Newcastle NSW

2010-02-01 Thread Azril Nazli
Can I work from Malaysia?   I'm @ gmt +8

Azril Nazli
http://protonmania.com

On Feb 1, 5:18 pm, Graham Weldon gra...@grahamweldon.com wrote:
 Hey guys and gals,

 I'm posting on behalf of a business friend of mine, who operates a
 local web design and development business in Newcastle, NSW,
 Australia.
 He's currently looking for a full time, in-house, permanent web
 developer thats got some CakePHP experience.

 if anyone is interested, please drop me an email, and I can forward
 you through the relevant information.

 Cheers,
 Graham Weldon
 (aka. Predominant)

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Admin Section as plugin

2010-02-01 Thread Azril Nazli
I've wrote a very simple plugin @ http://jobber.my/imz

On Jan 31, 9:04 am, cronet cro...@gmx.de wrote:
 Hello,

 i want to create a plugin, which covers a little admin section, e.g.
 Usermanagement,Basic Authentication and website Settings
 The idea is to have a admin section which is easy maintainable, but
 also extendable to fit the needs of different projects...

 Do I run into problems creating this as plugin?
 Could it be possible involve other plugins in my admin plugin?
 Can I use the plugin layout in other plugins?

 One point could be the navigation menu. But if I store the menu array
 in the session i could easily extend the menu in other plugins...

 An example:
 I have my admin plugin ready, with basic stuff. In one project i need
 a newsletter module/plugin, which should be triggered by the admin
 section... The specific newsletter models, controller and views are
 handled by the newsletter plugin, but uses the layout of the admin
 plugin...

 Now, if i do adjustments to the basic stuff in the admin plugin, I
 simply update the plugin and could be sure, that the newsletter plugin
 is working as usual!

 I could easily update the admin plugin in several projects, without
 touching other areas of the different projects!

 Sure, all other plugins need to folllow a kind of conventions the
 admin plugin dictates... But that shouldn't a problem at all...

 Is this a stupid idea? Anyone of you implented something similiar
 before?
 I would like to hear your opinions !

 Regards,
 AxlF

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: named parameters in pages_controller

2010-01-14 Thread Azril Nazli
try

$url = $html-url( array('controller' = 'posts', 'action' = 'view',
'id' = 12, 'param' = 'name));
echo $url;


On Jan 13, 8:56 pm, blickensdoer...@googlemail.com
blickensdoer...@googlemail.com wrote:
 hi everyone,

 i have a problem with the url helper in the pages_controller:

 i want to append a named parameter to the current url .

 in all controllers this works fine, but the pages_controller does
 always something like this:

 /pages/display/pages/info/param:name

 i've tried various ways to pass the url to the helper, even things
 like:

 $html-url($this-here.'/param:name')

 but nothing works

 anyone knows help?

 ty+regards
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


[imz.bazet] A simple User Management Plugin

2010-01-13 Thread Azril Nazli
Hi, I just wrote my first plugin using various knowledge gathered from
the internet.

URL : http://jobber.my/imz/ ( demo and downloads )

Features

* User signup
* User login
* User logout
* User change profile
* User forgot password ( tickets )
* Administration via Admin Scaffold

Source code
1. http://mamakspot.googlecode.com/files/cake_projects.zip ( with
sample app )
2. http://mamakspot.googlecode.com/files/bazet.zip ( plugin only )

** just for learning guide, not optimized for production
** targetted usergroup ( cakephp beginner )
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: A simple User Management Plugin

2010-01-13 Thread Azril Nazli
TQVM !
Your comments shed a brighter light for beginner cake developer like
me.

In my country,Malaysia, doing things using a framework is very very
new. For example, out of 5 programmer, only 1 or 2 have  heard of Ruby
On Rails

The code is written in minimal way so others can extend it easily.

On how the plugin's app_controller loaded in main application
app_controller is something to look upon. Actually I was planning to
use requestAction() way.

On Jan 13, 9:05 pm, robustsolution i...@robustsolution.net wrote:
 thanks for sharing us your work.
 It was a very good start.
 some quick notes:
 1)after signup user should receive an activation link to activate his
 account not to activate the account by default. in this case use
 should autologin
 2)user should be able to login using the password with (either his
 username or his email)
 3)user should not be able to change his username in edit mode, but he
 could change always his email address in edit mode, in this case his
 account will be deactivated(banned) until he verifies that he is the
 owner of the new email address
 4)the resetpassword link should be used only for one reset password
 operation, for security reason. same for activation link
 5)after successfully resetting the password, or activating the account
 user should autologin to the system
 6) user life cycle: created,activated,banned then ,activated,banned,
 activated,banned, activated,banned,activated,banned, etc... so just
 three status is enough.
 7)in case you have either user or admin account for the user record,
 is_admin is enough, otherwise a light or heavy weight permission
 system should be required
 8)cookies should always be a user choice that developer could not
 ignore it
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: DATE_FORMAT in fields does not return formatted date under proper Key (Model Name)

2010-01-13 Thread Azril Nazli
try

  fields = array(
GenderSalutation.name,
User.first_name, User.middle_name,
User.last_name, DATE_FORMAT(User.created, '%d') AS User.created,
User.dob,
),
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Yet Another Blog Tutorial, but in Malay Language

2009-12-26 Thread Azril Nazli
URL : http://www.scribd.com/doc/24306363/Menjadi-Pembangun-CakePHP-Bazet

This is ongoing tutorial on how to create a blog application using
Cake 1.2.5

This tutorial written in Malay language ( used by people of Malaysia
and some part of Indonesia )

What does this tutorial covers?
- cake 1.2.5 on Windows via XAMPP
- project generation via Cake CLI
- basic MVC
- database  table creation via Cake Schema CLI
- basic CRUD
- scaffolding
- Helpers
- basic Form Helper usage
- basic Admin CRUD ( manually )

This tutorial uses screenshot from actual software development.

Enjoy


Azril Nazli Alias
Putrajaya, Malaysia

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


CakeSMS : SMS server Gnokii CakeSMS

2009-09-07 Thread Azril Nazli

URL : http://cakesms.blogspot.com

An application where you can send and receive SMS using GSM Modem /
Phone

Tools used
- VMWARE 1.6 Server
- Linux Fedora
- LAMP configured to run cakephp
- CakePHP 1.2 RC3
- Gnokii SMSD

I did this application using CakePHP 1.2 and it is free to try. Comes
with Visual Guide using PDF.

Have a try.

Regards
Azril Nazli Alias
Malaysia CakePHP Developer / Ruby On Rails Evangelist
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Free Cake Ebook : How to build your own blog from scratch

2009-07-29 Thread Azril Nazli

For those who can understand Malay language, I just made this Ebook to
help you out understand CakePHP

http://blog.mamakspot.my/blog/posts/view/19/Ebook-Panduan-Bina-Blog-Guna-CakePHP-versi-0-1

or

http://mamakspot.googlecode.com/files/Azril%20Nazli%20Books%20-%20Membina%20Blog%20menggunakan%20CakePHP.pdf

Written in Malay language ( Malaysia Official Language )


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Slider not moving

2008-12-02 Thread Azril Nazli

I also stuck with default CakePHP slider, instead I hard code the
sliders using normal Prototype

http://mamakspot.my/node/2 ( see the screenshot # 3 )


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Slider not moving

2008-12-02 Thread Azril Nazli

I'll pass the code later. Didn't bring the code with me at the moment

On Dec 3, 10:42 am, AussieFreelancer [EMAIL PROTECTED]
wrote:
 I see in the screenshot you have used it, but I am still not sure how
 to get it working on my website.. I have tried hardcoding the sliders
 using normal prototype, but it made no difference..

 On Dec 3, 11:18 am, Azril Nazli [EMAIL PROTECTED] wrote:

  I also stuck with default CakePHP slider, instead I hard code the
  sliders using normal Prototype

 http://mamakspot.my/node/2( see the screenshot # 3 )
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Example of using Search Pagination

2008-12-02 Thread Azril Nazli

Here is my simple example using pagination in search result

Search multiple fields using OR and return the result as paginated
view

http://www.php.net.my/forum/thread.php/14/3558/1#jump3

Just browse thru the code and see the example in screenshot.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: is Cakephp 1.2 faster than Code Igniter ?

2008-10-27 Thread Azril Nazli

http://www.symfony-project.org/blog/2007/06/11/is-symfony-too-slow-for-real-world-usage
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



PHP 4 signup user problem with created date

2008-10-13 Thread Azril Nazli

Here is my forum developed in cakephp http://forum.protonmania.com

I have a simple User model withe these fields
username
password
email
created
password

In my dev machine which using PHP5, when user signup, cakephp will
auto populate the created and modified field, but in PHP 4 it doesn't

So I have to add it manually.

I just wondering why it does not auto populate

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---