- Create Your First Mobile App with AngularJS and Ionic
- Mastering the Ionic Framework: Learn to Build & Deploy Native Speed HTML5 Based Apps
- How To Organize The Files In Your Ionic Project
#▶Dave Smith - Deep Dive into Custom Directives - NG-Conf 2014 ★★★ ##When to use directives?
- If you want a reusable HTML component
<my-widget>
- If you want reusable HTML behavior
<div ng-click="...">
- If you want to wrap a jQuery plugin
<div ui-date>
*Almost any time you need to interface with the DOM
Ionic: Advanced HTML5 Hybrid Mobile App Framework. It is built with HTML5 technologies on Apache Cordova and AngularJS.
Ionic's ultimate goal is to make it easier to develop native mobile apps with HTML5, also known as Hybrid apps.
Learn Ionic. Read the Docs and join the Forum. Keep up to date with the Blog. View the Source.
- Website: http://laravel.com/
- October CMS gist: https://gist.github.com/hofmannsven/e71b90092fde4dc5cff9
- Laravel cheatsheet: http://cheats.jesse-obrien.ca/
Author: Ari Lerner.
AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:
- Module support
- DOM manipulation
- Animations
- Templating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sql QuerySet Notes | |
| SELECT count(*) FROM fruit Fruits.objects.count() table count | |
| SELECT count(*) FROM fruit WHERE name=’Orange’ Fruits.objects.filter(name__exact=’Orange’).count() count with filter | |
| SELECT * FROM fruit WHERE color is NULL Fruits.objects.get(color__isnull=True) filter by null | |
| SELECT * FROM fruit WHERE color is NOT NULL Fruits.objects.get(color__isnull=False) filter by null | |
| SELECT * FROM fruit WHERE name=’Apple’ Fruits.objects.get(name__exact=’Apple’) case sensitive | |
| SELECT * FROM fruit WHERE lower(name)=lower(‘Apple’) Fruits.objects.get(name__iexact=’Apple’) case in-sensitive | |
| SELECT * FROM fruit WHERE name LIKE ‘App%’ Fruits.objects.filter(name__startswith=’App’) case sensitive LIKE | |
| SELECT * FROM fruit WHERE upper(name) LIKE ‘APP%’ Fruits.objects.filter(name__ista |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class NameAnyModelAdmin(admin.ModelAdmin): | |
| fields = ('field1', ('field2', 'field_checkbox'),) | |
| list_display = ('field1', 'field2', 'field_checkbox',) | |
| search_fields = ('field1',) | |
| actions = ['field_checkbox_action'] | |
| def field_checkbox_action(self, request, queryset): | |
| for obj in queryset: | |
| if obj.field_checkbox == False: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kill port already defined | |
| ========================= | |
| fuser -k 8000/tcp | |
| Kill annd Restart whenever u added new apps | |
| --------------------------------------------- | |
| Create and activate virtual environment |