WordPress Database
Data corpses are created by plugin installations and uninstallation. Also through revisions of posts. Plugin Solution:…
DNS prefetch
Search for external links in the source code, for example "ajax.googleapis.com" … then write them directly…
Apache Module "gzip" + "deflate"
These modules are used for server-side compression of all files (incl.php) Activation occurs in .htaccess (if…
Enable browser caching in .htaccess
Each browser cached by per default. Browser caching can be activated by hand in ".htaccess"
CSS and JS mimify
White spaces ensure that the "line cursor" seigth. So the browser must jump more open than…
Speed best practice
Install as few plugins as possible Do not use plugins for all functions. For example, "Fav…
Speed factor images
Gorße's images generate emotions. But also charge more slowly. An approach to repenting images before uploading…
Speed factor hosting
Webspace (shared Webspace) V-Server (Virtual Server) Root Server (fully rentable server | Advantage – absolute control)…
Speed measurement
Measurement:Firefox -> Firebug (Hard reload: no cached contents load – Cmd+Str+R)Firefox -> Webdev tools: Str+Shift+i Website…
Android permission
You declare the permissions your app requires in the AndroidManifest.xml using the .. <uses-permission> element. To…
Bound service
Started services are great for background operations, but what if you need a service that’s more…
AsyncTask
An AsyncTask lets you perform operations in the background. When they’ve finished running, it then allows…
changeCursor()
Cursors don’t automatically keep trac of whether the underlying data in the dabase has changed. So…
Database cursor
A cursor lets you read from and write tot the database.Youe specify what data you want…
SQLite database
Android stores data in SQLite database. Why SQLite? Its lightweightSQLite database is just a file. When…
ListView
The most basic way to connect items to a ListView (static data) res/values/strings.xml The ListView in…
AppCompatActivity class
The AppCompatActivity class is a subclass of Activity. It lives in the AppCompat Support Library, and…
Support Libraries
The Android Support Libraries provide backward compatibility with older versions of Android. THey sit outside the…
Fragments lifecycle
Activity states Fragment callbacks Activity created onAttach() onCreate() onCreateView() onActivityCreated() onAttach(Context)This happens when the fragment is…
What fragment code looks like
When you create a fragment, Android Studio creates two files for you: Java code for the…
How to add a fragment to a project
To add a fragment to your project… highlight the folder “app/src/main/java Go to “File” in menu…